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