Merge pull request #118920 from fabaff/pyezviz

This commit is contained in:
Sandro 2021-04-12 00:49:11 +02:00 committed by GitHub
commit b1ca79bd80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 deletions

View 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 ];
};
}

View file

@ -238,7 +238,7 @@
"eufy" = ps: with ps; [ ]; # missing inputs: lakeside
"everlights" = ps: with ps; [ pyeverlights ];
"evohome" = ps: with ps; [ evohome-async ];
"ezviz" = ps: with ps; [ ]; # missing inputs: pyezviz
"ezviz" = ps: with ps; [ pyezviz ];
"faa_delays" = ps: with ps; [ faadelays ];
"facebook" = ps: with ps; [ ];
"facebox" = ps: with ps; [ ];

View file

@ -5758,6 +5758,8 @@ in {
pyext = callPackage ../development/python-modules/pyext { };
pyezviz = callPackage ../development/python-modules/pyezviz { };
pyface = callPackage ../development/python-modules/pyface { };
pyfaidx = callPackage ../development/python-modules/pyfaidx { };