mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.denonavr: 0.9.10 -> 0.10.6
This commit is contained in:
parent
a79ddca1b5
commit
4fcefbe10c
@ -1,33 +1,51 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces
|
||||
, pytestCheckHook, testtools, requests-mock }:
|
||||
{ lib
|
||||
, asyncstdlib
|
||||
, attrs
|
||||
, buildPythonPackage
|
||||
, defusedxml
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, netifaces
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytest-httpx
|
||||
, pytest-timeout
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "denonavr";
|
||||
version = "0.9.10";
|
||||
disabled = isPy27;
|
||||
version = "0.10.6";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scarface-4711";
|
||||
repo = "denonavr";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-3ap8F3ayBTpaR98md+gT0+hkIWlFBNxStTGWT5AL//A=";
|
||||
sha256 = "sha256-jcbjExcyZSE+qVPuYiMmuneugDMBoYz4apY/lz4JnMI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
asyncstdlib
|
||||
attrs
|
||||
defusedxml
|
||||
httpx
|
||||
netifaces
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
testtools
|
||||
requests-mock
|
||||
pytest-httpx
|
||||
pytest-timeout
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "denonavr" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automation Library for Denon AVR receivers";
|
||||
homepage = "https://github.com/scarface-4711/denonavr";
|
||||
description = "Automation Library for Denon AVR receivers.";
|
||||
license = licenses.mit;
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ colemickens ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user