depot/third_party/nixpkgs/pkgs/development/python-modules/doorbirdpy/default.nix
Default email dae973cb59 Project import generated by Copybara.
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
2023-03-08 18:32:21 +02:00

40 lines
742 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 ];
};
}