about summary refs log tree commit diff
path: root/pkgs/development/python-modules/smarthab/default.nix
blob: f317e9a008edecf6b6c029b924e8ec13835ec068 (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
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:

buildPythonPackage rec {
  pname = "smarthab";
  version = "0.21";
  format = "setuptools";

  src = fetchPypi {
    pname = "SmartHab";
    inherit version;
    sha256 = "bf929455a2f7cc1e275b331de73d983587138a8d9179574988ba05fa152d3ccf";
  };

  propagatedBuildInputs = [
    aiohttp
  ];

  # no tests on PyPI, no tags on GitLab
  doCheck = false;

  pythonImportsCheck = [ "pysmarthab" ];

  meta = with lib; {
    description = "Control devices in a SmartHab-powered home";
    homepage = "https://gitlab.com/outadoc/python-smarthab";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ dotlambda ];
  };
}