git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #33862 from dotlambda/pyhomematic

python3Packages.pyhomematic: init at 0.1.38

commit4d9b5ede182dcfdb70da007352e0ed9c22c024f2 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateMon 29 Jan 2018, 16:52 (9 years ago) parent1716bf7762b1bb
2 files changed+25
pkgs/development/python-modules/pyhomematic/default.nix+23 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pyhomematic/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
2+
3+buildPythonPackage rec {
4+ pname = "pyhomematic";
5+ version = "0.1.38";
6+
7+ disabled = !isPy3k;
8+
9+ src = fetchPypi {
10+ inherit pname version;
11+ sha256 = "15b09ppn5sn3vpnwfb7gygrvn5v65k3zvahkfx2kqpk1xah0mqbf";
12+ };
13+
14+ # Tests reuire network access
15+ doCheck = false;
16+
17+ meta = with stdenv.lib; {
18+ description = "Python 3 Interface to interact with Homematic devices";
19+ homepage = https://github.com/danielperna84/pyhomematic;
20+ license = licenses.mit;
21+ maintainers = with maintainers; [ dotlambda ];
22+ };
23+}
pkgs/top-level/python-packages.nix+2
@@ -6141,6 +6141,8 @@ in {
61416141
61426142 pydotplus = callPackage ../development/python-modules/pydotplus { };
61436143
6144+ pyhomematic = callPackage ../development/python-modules/pyhomematic { };
6145+
61446146 pyphen = callPackage ../development/python-modules/pyphen {};
61456147
61466148 pypoppler = buildPythonPackage rec {