nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 47 lines 858 B view raw
1{ lib 2, aiohttp 3, aioresponses 4, async-timeout 5, buildPythonPackage 6, fetchFromGitHub 7, pytest-aiohttp 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "pydeconz"; 14 version = "92"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "Kane610"; 21 repo = "deconz"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-qA7AgiiRBq1ekBcQDC8LlLnZLthA0QFZpxNUZdrMMIA="; 24 }; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 async-timeout 29 ]; 30 31 checkInputs = [ 32 aioresponses 33 pytest-aiohttp 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ 38 "pydeconz" 39 ]; 40 41 meta = with lib; { 42 description = "Python library wrapping the Deconz REST API"; 43 homepage = "https://github.com/Kane610/deconz"; 44 license = with licenses; [ mit ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}