Merge pull request #118920 from fabaff/pyezviz
This commit is contained in:
commit
b1ca79bd80
3 changed files with 39 additions and 1 deletions
36
pkgs/development/python-modules/pyezviz/default.nix
Normal file
36
pkgs/development/python-modules/pyezviz/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pandas
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyezviz";
|
||||||
|
version = "0.1.8.7";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "baqs";
|
||||||
|
repo = "pyEzviz";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0k7wl9wf5i0yfdds6f9ma78ckz1p4h72z5s3qg0axzra62fvl9xg";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pandas
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no tests. test_cam_rtsp.py is more a sample for using the module
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pyezviz" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python interface for for Ezviz cameras";
|
||||||
|
homepage = "https://github.com/baqs/pyEzviz/";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -238,7 +238,7 @@
|
||||||
"eufy" = ps: with ps; [ ]; # missing inputs: lakeside
|
"eufy" = ps: with ps; [ ]; # missing inputs: lakeside
|
||||||
"everlights" = ps: with ps; [ pyeverlights ];
|
"everlights" = ps: with ps; [ pyeverlights ];
|
||||||
"evohome" = ps: with ps; [ evohome-async ];
|
"evohome" = ps: with ps; [ evohome-async ];
|
||||||
"ezviz" = ps: with ps; [ ]; # missing inputs: pyezviz
|
"ezviz" = ps: with ps; [ pyezviz ];
|
||||||
"faa_delays" = ps: with ps; [ faadelays ];
|
"faa_delays" = ps: with ps; [ faadelays ];
|
||||||
"facebook" = ps: with ps; [ ];
|
"facebook" = ps: with ps; [ ];
|
||||||
"facebox" = ps: with ps; [ ];
|
"facebox" = ps: with ps; [ ];
|
||||||
|
|
|
@ -5758,6 +5758,8 @@ in {
|
||||||
|
|
||||||
pyext = callPackage ../development/python-modules/pyext { };
|
pyext = callPackage ../development/python-modules/pyext { };
|
||||||
|
|
||||||
|
pyezviz = callPackage ../development/python-modules/pyezviz { };
|
||||||
|
|
||||||
pyface = callPackage ../development/python-modules/pyface { };
|
pyface = callPackage ../development/python-modules/pyface { };
|
||||||
|
|
||||||
pyfaidx = callPackage ../development/python-modules/pyfaidx { };
|
pyfaidx = callPackage ../development/python-modules/pyfaidx { };
|
||||||
|
|
Loading…
Reference in a new issue