depot/third_party/nixpkgs/pkgs/development/python-modules/onvif-zeep-async/default.nix

40 lines
708 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, httpx
, pythonOlder
, zeep
}:
buildPythonPackage rec {
pname = "onvif-zeep-async";
version = "1.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Gd3OfFfJE//uDiaU6HTlURCqoGOG4jvuMN1TlDy7pZU=";
};
propagatedBuildInputs = [
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 ];
};
}