1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 ciso8601, 6 fetchFromGitHub, 7 pythonOlder, 8 setuptools, 9 yarl, 10 zeep, 11}: 12 13buildPythonPackage rec { 14 pname = "onvif-zeep-async"; 15 version = "4.0.4"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.10"; 19 20 src = fetchFromGitHub { 21 owner = "openvideolibs"; 22 repo = "python-onvif-zeep-async"; 23 tag = "v${version}"; 24 hash = "sha256-IZ48CB4+C+XS/Qt51hohurdQoJ1uANus/PodtZ9ZpCY="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 aiohttp 31 ciso8601 32 yarl 33 zeep 34 ] 35 ++ zeep.optional-dependencies.async; 36 37 pythonImportsCheck = [ "onvif" ]; 38 39 # Tests are not shipped 40 doCheck = false; 41 42 meta = with lib; { 43 description = "ONVIF Client Implementation in Python"; 44 homepage = "https://github.com/hunterjm/python-onvif-zeep-async"; 45 changelog = "https://github.com/openvideolibs/python-onvif-zeep-async/releases/tag/${src.tag}"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ fab ]; 48 mainProgram = "onvif-cli"; 49 }; 50}