1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, poetry-core
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "luxtronik";
11 version = "0.3.14";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "Bouni";
18 repo = "python-luxtronik";
19 rev = version;
20 hash = "sha256-7TuvqOAb/MUumOF6BKTRLOJuvteqZPmFUXXsuwEpmOM=";
21 };
22
23 # Project has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [
27 "luxtronik"
28 ];
29
30 meta = with lib; {
31 description = "Python library to interact with Luxtronik heatpump controllers";
32 homepage = "https://github.com/Bouni/python-luxtronik";
33 license = licenses.mit;
34 maintainers = with maintainers; [ fab ];
35 };
36}