depot/third_party/nixpkgs/pkgs/development/python-modules/doorbirdpy/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

43 lines
895 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitLab,
setuptools,
aiohttp,
aioresponses,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "doorbirdpy";
version = "3.0.3";
pyproject = true;
src = fetchFromGitLab {
owner = "klikini";
repo = "doorbirdpy";
rev = "refs/tags/${version}";
hash = "sha256-0UvzMFYKM/Sb9B2XwZwl+a9v7lTxAc1H59vR88VwDww=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "doorbirdpy" ];
meta = with lib; {
changelog = "https://gitlab.com/klikini/doorbirdpy/-/tags/${version}";
description = "Python wrapper for the DoorBird LAN API";
homepage = "https://gitlab.com/klikini/doorbirdpy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}