depot/third_party/nixpkgs/pkgs/development/python-modules/onvif-zeep-async/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

39 lines
708 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, httpx
, pythonOlder
, zeep
}:
buildPythonPackage rec {
pname = "onvif-zeep-async";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-O4H6oL9cFvgX6whoESA7eRI6+VoT1ncRk/tehQT1WcM=";
};
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 ];
};
}