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