ffc78d3539
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
33 lines
753 B
Nix
33 lines
753 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces
|
|
, pytestCheckHook, testtools, requests-mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "denonavr";
|
|
version = "0.9.10";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scarface-4711";
|
|
repo = "denonavr";
|
|
rev = version;
|
|
sha256 = "sha256-3ap8F3ayBTpaR98md+gT0+hkIWlFBNxStTGWT5AL//A=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
netifaces
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
testtools
|
|
requests-mock
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/scarface-4711/denonavr";
|
|
description = "Automation Library for Denon AVR receivers.";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ colemickens ];
|
|
};
|
|
}
|