1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 requests,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "proliphix";
12 version = "0.5.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-Tf6gTRofZXY6ikrXBARgp6grzZGQMjvN5njT+7SRZNQ=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ requests ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "proliphix" ];
27
28 meta = {
29 description = "API for Proliphix nt10e network thermostat";
30 homepage = "https://github.com/sdague/proliphix";
31 license = lib.licenses.asl20;
32 maintainers = [ lib.maintainers.jamiemagee ];
33 };
34}