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