My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/denonavr/default.nix

55 lines
965 B

{ lib
, asyncstdlib
, attrs
, buildPythonPackage
, defusedxml
, fetchFromGitHub
, httpx
, netifaces
, pytest-asyncio
, pytestCheckHook
, pytest-httpx
, pytest-timeout
, pythonOlder
}:
buildPythonPackage rec {
pname = "denonavr";
version = "0.10.11";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "scarface-4711";
repo = pname;
rev = version;
hash = "sha256-RY1XRGuwSFL429foEjEN93fBucUyyYc6cmpzYmYRorc=";
};
propagatedBuildInputs = [
asyncstdlib
attrs
defusedxml
httpx
netifaces
];
checkInputs = [
pytest-asyncio
pytestCheckHook
pytest-httpx
pytest-timeout
];
pythonImportsCheck = [
"denonavr"
];
meta = with lib; {
description = "Automation Library for Denon AVR receivers";
homepage = "https://github.com/scarface-4711/denonavr";
license = with licenses; [ mit ];
maintainers = with maintainers; [ colemickens ];
};
}