{ stdenv, buildPythonPackage, isPy3k, fetchPypi }: buildPythonPackage rec { pname = "pyhomematic"; version = "0.1.43"; disabled = !isPy3k; src = fetchPypi { inherit pname version; sha256 = "0b6f4f5c8ddca15e0a1df367bafdffb2f08f1e42f17c78b9470573287e5b20bc"; }; # PyPI tarball does not include tests/ directory # Unreliable timing: https://github.com/danielperna84/pyhomematic/issues/126 doCheck = false; 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 ]; }; }