Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 41 lines 767 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 ciso8601, 5 fetchPypi, 6 httpx, 7 pythonOlder, 8 zeep, 9}: 10 11buildPythonPackage rec { 12 pname = "onvif-zeep-async"; 13 version = "3.1.12"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-TXSwrWnDXzntXZN/u09QB3BsIa6tpf6LpGFKEyA/GH8="; 21 }; 22 23 propagatedBuildInputs = [ 24 ciso8601 25 httpx 26 zeep 27 ]; 28 29 pythonImportsCheck = [ "onvif" ]; 30 31 # Tests are not shipped 32 doCheck = false; 33 34 meta = with lib; { 35 description = "ONVIF Client Implementation in Python"; 36 mainProgram = "onvif-cli"; 37 homepage = "https://github.com/hunterjm/python-onvif-zeep-async"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}