Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
952 B
Nix
52 lines
952 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitLab,
|
|
setuptools,
|
|
aiohttp,
|
|
tenacity,
|
|
aioresponses,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "doorbirdpy";
|
|
version = "3.0.9";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "klikini";
|
|
repo = "doorbirdpy";
|
|
tag = version;
|
|
hash = "sha256-aa7u4x0WAFvCKPPGKJiZA/DYKKCa+xqabHxDMPxEbgo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [
|
|
"tenacity"
|
|
];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
tenacity
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "doorbirdpy" ];
|
|
|
|
meta = {
|
|
changelog = "https://gitlab.com/klikini/doorbirdpy/-/tags/${src.tag}";
|
|
description = "Python wrapper for the DoorBird LAN API";
|
|
homepage = "https://gitlab.com/klikini/doorbirdpy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|