2022-02-20 05:27:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-05-24 13:37:59 +00:00
|
|
|
, ciso8601
|
2022-02-20 05:27:41 +00:00
|
|
|
, fetchPypi
|
|
|
|
, httpx
|
|
|
|
, pythonOlder
|
|
|
|
, zeep
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "onvif-zeep-async";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "3.1.12";
|
2022-02-20 05:27:41 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-TXSwrWnDXzntXZN/u09QB3BsIa6tpf6LpGFKEyA/GH8=";
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-05-24 13:37:59 +00:00
|
|
|
ciso8601
|
2022-02-20 05:27:41 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|