2018-02-09 23:24:30 +01:00
|
|
|
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub }:
|
2018-01-14 12:31:27 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyhomematic";
|
2018-02-09 23:24:30 +01:00
|
|
|
version = "0.1.39";
|
2018-01-14 12:31:27 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-02-09 23:24:30 +01:00
|
|
|
# PyPI tarball does not include tests/ directory
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "danielperna84";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1g181x2mrhxcaswr6vi2m7if97wv4rf2g2pny60334sciga8njfz";
|
2018-01-14 12:31:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python 3 Interface to interact with Homematic devices";
|
|
|
|
homepage = https://github.com/danielperna84/pyhomematic;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|