1{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub }:
2
3buildPythonPackage rec {
4 pname = "pyhomematic";
5 version = "0.1.39";
6
7 disabled = !isPy3k;
8
9 # PyPI tarball does not include tests/ directory
10 src = fetchFromGitHub {
11 owner = "danielperna84";
12 repo = pname;
13 rev = version;
14 sha256 = "1g181x2mrhxcaswr6vi2m7if97wv4rf2g2pny60334sciga8njfz";
15 };
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}