1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

pythonPackages.denonavr: init at 0.7.10

This commit is contained in:
Cole Mickens 2020-01-17 07:58:30 +00:00 committed by Jon
parent 248b42757b
commit bb92cfdda2
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, requests
, pytest, testtools, requests-mock }:
buildPythonPackage rec {
pname = "denonavr";
version = "0.7.10";
src = fetchFromGitHub {
owner = "scarface-4711";
repo = "denonavr";
rev = version;
sha256 = "078nhr69f68nfazhmkf2sl7wiadqx96a5ry3ziggiy1xs04vflj7";
};
propagatedBuildInputs = [ requests ];
doCheck = !isPy27;
checkInputs = [ pytest testtools requests-mock ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
homepage = "https://github.com/scarface-4711/denonavr";
description = "Automation Library for Denon AVR receivers.";
license = licenses.mit;
maintainers = with maintainers; [ colemickens ];
};
}

View file

@ -562,6 +562,8 @@ in {
dendropy = callPackage ../development/python-modules/dendropy { };
denonavr = callPackage ../development/python-modules/denonavr { };
dependency-injector = callPackage ../development/python-modules/dependency-injector { };
btchip = callPackage ../development/python-modules/btchip { };