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