1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "venstarcolortouch"; 9 version = "0.19"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-QjcoF46GrBH7ExGQno8xDgtOSGNxhAP+NycJb22hL+E="; 14 }; 15 16 propagatedBuildInputs = [ 17 requests 18 ]; 19 20 # Project has no tests 21 doCheck = false; 22 23 pythonImportsCheck = [ 24 "venstarcolortouch" 25 ]; 26 27 meta = with lib; { 28 description = "Python interface for Venstar ColorTouch thermostats Resources"; 29 homepage = "https://github.com/hpeyerl/venstar_colortouch"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}