python3Packages.denonavr: 0.9.10 -> 0.10.6

This commit is contained in:
Fabian Affolter 2021-05-07 18:49:30 +02:00
parent a79ddca1b5
commit 4fcefbe10c

View File

@ -1,33 +1,51 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces { lib
, pytestCheckHook, testtools, requests-mock }: , asyncstdlib
, attrs
, buildPythonPackage
, defusedxml
, fetchFromGitHub
, httpx
, netifaces
, pytest-asyncio
, pytestCheckHook
, pytest-httpx
, pytest-timeout
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "denonavr"; pname = "denonavr";
version = "0.9.10"; version = "0.10.6";
disabled = isPy27; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "scarface-4711"; owner = "scarface-4711";
repo = "denonavr"; repo = pname;
rev = version; rev = version;
sha256 = "sha256-3ap8F3ayBTpaR98md+gT0+hkIWlFBNxStTGWT5AL//A="; sha256 = "sha256-jcbjExcyZSE+qVPuYiMmuneugDMBoYz4apY/lz4JnMI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
requests asyncstdlib
attrs
defusedxml
httpx
netifaces netifaces
]; ];
checkInputs = [ checkInputs = [
pytest-asyncio
pytestCheckHook pytestCheckHook
testtools pytest-httpx
requests-mock pytest-timeout
]; ];
pythonImportsCheck = [ "denonavr" ];
meta = with lib; { meta = with lib; {
description = "Automation Library for Denon AVR receivers";
homepage = "https://github.com/scarface-4711/denonavr"; homepage = "https://github.com/scarface-4711/denonavr";
description = "Automation Library for Denon AVR receivers."; license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ colemickens ]; maintainers = with maintainers; [ colemickens ];
}; };
} }