1{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "pyhomematic";
5 version = "0.1.68";
6
7 disabled = !isPy3k;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "7f8ec68238a441cfe593fa9028509fd0c3dc67400b4dd520c8c02088f177302e";
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}