Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.denonavr: init at 0.7.10
- Loading branch information
1 parent
248b427
commit bb92cfd
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters