My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pyezviz/default.nix

47 lines
884 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, paho-mqtt
, pandas
, pycryptodome
, pythonOlder
, requests
, xmltodict
}:
buildPythonPackage rec {
pname = "pyezviz";
version = "0.2.0.8";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "baqs";
repo = "pyEzviz";
rev = version;
sha256 = "sha256-W2JtqRyNVUo74esmCvCQygIMB1+v77OW/ll48IMVj/Y=";
};
propagatedBuildInputs = [
paho-mqtt
pandas
pycryptodome
requests
xmltodict
];
# 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 ];
};
}