nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 55 lines 965 B view raw
1{ lib 2, asyncstdlib 3, attrs 4, buildPythonPackage 5, defusedxml 6, fetchFromGitHub 7, httpx 8, netifaces 9, pytest-asyncio 10, pytestCheckHook 11, pytest-httpx 12, pytest-timeout 13, pythonOlder 14}: 15 16buildPythonPackage rec { 17 pname = "denonavr"; 18 version = "0.10.11"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchFromGitHub { 24 owner = "scarface-4711"; 25 repo = pname; 26 rev = version; 27 hash = "sha256-RY1XRGuwSFL429foEjEN93fBucUyyYc6cmpzYmYRorc="; 28 }; 29 30 propagatedBuildInputs = [ 31 asyncstdlib 32 attrs 33 defusedxml 34 httpx 35 netifaces 36 ]; 37 38 checkInputs = [ 39 pytest-asyncio 40 pytestCheckHook 41 pytest-httpx 42 pytest-timeout 43 ]; 44 45 pythonImportsCheck = [ 46 "denonavr" 47 ]; 48 49 meta = with lib; { 50 description = "Automation Library for Denon AVR receivers"; 51 homepage = "https://github.com/scarface-4711/denonavr"; 52 license = with licenses; [ mit ]; 53 maintainers = with maintainers; [ colemickens ]; 54 }; 55}