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