about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pykwb/default.nix
blob: 5de4abd0306dcdb63db2ab193c94174db8914340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pykwb";
  version = "0.0.10";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-mor2TKhq08w4HzaUaspWOMEFwJaAKjXKoNAaoZJqWPQ=";
  };

  propagatedBuildInputs = [
    pyserial
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "pykwb"
  ];

  meta = with lib; {
    description = "Library for interacting with KWB Easyfire Pellet Central Heating Units";
    homepage = "https://github.com/bimbar/pykwb";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}