python3Packages.pyezviz: init at 0.1.8.7

This commit is contained in:
Fabian Affolter 2021-04-09 19:25:00 +02:00
parent 41d8ec87b2
commit 409af093e7
2 changed files with 38 additions and 0 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

@ -5724,6 +5724,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 { };