94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
41 lines
732 B
Nix
41 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, ciso8601
|
|
, fetchPypi
|
|
, httpx
|
|
, pythonOlder
|
|
, zeep
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "onvif-zeep-async";
|
|
version = "3.1.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ra/1qKKmuWWvJCrr1uTCU5Awv5+GShgDHlHw0igLc4c=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ciso8601
|
|
httpx
|
|
zeep
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"onvif"
|
|
];
|
|
|
|
# Tests are not shipped
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "ONVIF Client Implementation in Python";
|
|
homepage = "https://github.com/hunterjm/python-onvif-zeep-async";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|