blob: 27338295d1235de4668b4bdb1b98c34a6fc103b4 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchPypi,
aiohttp,
setuptools,
}:
buildPythonPackage rec {
pname = "smarthab";
version = "0.21";
pyproject = true;
src = fetchPypi {
pname = "SmartHab";
inherit version;
hash = "sha256-v5KUVaL3zB4nWzMd5z2YNYcTio2ReVdJiLoF+hUtPM8=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# no tests on PyPI, no tags on GitLab
doCheck = false;
pythonImportsCheck = [ "pysmarthab" ];
meta = {
description = "Control devices in a SmartHab-powered home";
homepage = "https://gitlab.com/outadoc/python-smarthab";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|