From 8eabd76432158c961454673f42e37517be43ba09 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 26 Feb 2018 18:14:27 +0800 Subject: [PATCH] onkyo-eiscp: init at 1.2.4 --- .../python-modules/onkyo-eiscp/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/onkyo-eiscp/default.nix diff --git a/pkgs/development/python-modules/onkyo-eiscp/default.nix b/pkgs/development/python-modules/onkyo-eiscp/default.nix new file mode 100644 index 000000000000..c0a1e39b384b --- /dev/null +++ b/pkgs/development/python-modules/onkyo-eiscp/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi +, docopt, netifaces }: + +buildPythonPackage rec { + pname = "onkyo-eiscp"; + version = "1.2.4"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0qb5w2g2cnckq7psh92g1w3gf76437x1vwfhwnd247wshs5h7hxj"; + }; + + propagatedBuildInputs = [ docopt netifaces ]; + + meta = with stdenv.lib; { + description = "Control Onkyo receivers over ethernet"; + homepage = https://github.com/miracle2k/onkyo-eiscp; + license = licenses.mit; + maintainers = with maintainers; [ peterhoeg ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2fda7395b434..2976dc56bf95 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2780,6 +2780,8 @@ in { curtsies = callPackage ../development/python-modules/curtsies { }; + onkyo-eiscp = callPackage ../development/python-modules/onkyo-eiscp { }; + tablib = buildPythonPackage rec { name = "tablib-${version}"; version = "0.12.1";