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