depot/third_party/nixpkgs/pkgs/development/python-modules/doorbirdpy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
738 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitLab,
requests,
pytestCheckHook,
requests-mock,
}:
buildPythonPackage rec {
pname = "doorbirdpy";
version = "2.2.2";
format = "setuptools";
src = fetchFromGitLab {
owner = "klikini";
repo = "doorbirdpy";
rev = version;
hash = "sha256-pgL4JegD1gANefp7jLYb74N9wgpkDgQc/Fe+NyLBrkA=";
};
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "doorbirdpy" ];
meta = with lib; {
description = "Python wrapper for the DoorBird LAN API";
homepage = "https://gitlab.com/klikini/doorbirdpy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}