Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
963 B · 50 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, aiohttp, aioresponses, async-timeout, buildPythonPackage, fetchFromGitHub, orjson, pytest-aiohttp, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pydeconz"; version = "113"; format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "Kane610"; repo = "deconz"; rev = "refs/tags/v${version}"; hash = "sha256-Vf3nYUopaGY5JK//rqqsz47VRHwql1cQcslYbkH3owQ="; };
propagatedBuildInputs = [ aiohttp async-timeout orjson ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytestCheckHook ];
pythonImportsCheck = [ "pydeconz" ];
meta = with lib; { description = "Python library wrapping the Deconz REST API"; homepage = "https://github.com/Kane610/deconz"; changelog = "https://github.com/Kane610/deconz/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}