1{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "pyhomematic";
5 version = "0.1.59";
6
7 disabled = !isPy3k;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "4406d9bf49d570ef0ba80be9cf8eb4bd75c08a2909369ebd90b8e94ff07f116e";
12 };
13
14 # PyPI tarball does not include tests/ directory
15 # Unreliable timing: https://github.com/danielperna84/pyhomematic/issues/126
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 description = "Python 3 Interface to interact with Homematic devices";
20 homepage = https://github.com/danielperna84/pyhomematic;
21 license = licenses.mit;
22 maintainers = with maintainers; [ dotlambda ];
23 };
24}