depot/third_party/nixpkgs/pkgs/development/python-modules/onvif-zeep-async/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

39 lines
708 B
Nix

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