1{ lib
2, buildPythonPackage
3, ciso8601
4, fetchPypi
5, httpx
6, pythonOlder
7, zeep
8}:
9
10buildPythonPackage rec {
11 pname = "onvif-zeep-async";
12 version = "3.1.9";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-szvRN2EmBV4BEM7EuL/Db5hwBtXwbn7M21h9NzS8l3k=";
20 };
21
22 propagatedBuildInputs = [
23 ciso8601
24 httpx
25 zeep
26 ];
27
28 pythonImportsCheck = [
29 "onvif"
30 ];
31
32 # Tests are not shipped
33 doCheck = false;
34
35 meta = with lib; {
36 description = "ONVIF Client Implementation in Python";
37 homepage = "https://github.com/hunterjm/python-onvif-zeep-async";
38 license = with licenses; [ mit ];
39 maintainers = with maintainers; [ fab ];
40 };
41}