Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
952 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ 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 ]; };}