Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / denonavr / default.nix
blobb02e1e498b9d07fa554a8d28a425bd0dfa18052a
1 { lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces
2 , pytestCheckHook, testtools, requests-mock }:
4 buildPythonPackage rec {
5   pname = "denonavr";
6   version = "0.9.10";
7   disabled = isPy27;
9   src = fetchFromGitHub {
10     owner = "scarface-4711";
11     repo = "denonavr";
12     rev = version;
13     sha256 = "sha256-3ap8F3ayBTpaR98md+gT0+hkIWlFBNxStTGWT5AL//A=";
14   };
16   propagatedBuildInputs = [
17     requests
18     netifaces
19   ];
21   checkInputs = [
22     pytestCheckHook
23     testtools
24     requests-mock
25   ];
27   meta = with lib; {
28     homepage = "https://github.com/scarface-4711/denonavr";
29     description = "Automation Library for Denon AVR receivers.";
30     license = licenses.mit;
31     maintainers = with maintainers; [ colemickens ];
32   };