1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pyserial,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pykwb";
11 version = "0.0.10";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-mor2TKhq08w4HzaUaspWOMEFwJaAKjXKoNAaoZJqWPQ=";
19 };
20
21 propagatedBuildInputs = [ pyserial ];
22
23 # Module has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "pykwb" ];
27
28 meta = with lib; {
29 description = "Library for interacting with KWB Easyfire Pellet Central Heating Units";
30 homepage = "https://github.com/bimbar/pykwb";
31 license = with licenses; [ mit ];
32 maintainers = with maintainers; [ fab ];
33 };
34}