Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
926 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitLab, setuptools, aiohttp, tenacity, aioresponses, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage rec { pname = "doorbirdpy"; version = "3.0.8"; pyproject = true;
src = fetchFromGitLab { owner = "klikini"; repo = "doorbirdpy"; rev = "refs/tags/${version}"; hash = "sha256-UayXJhfiiwB2aXCa5V1U/LnNiV7KX4lpIG9hNG6iCm0="; };
build-system = [ setuptools ];
dependencies = [ aiohttp tenacity ];
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 ]; };}