blob: 964575d108ef2b35497f1057dfb0f548bc8de78b (
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
36
37
38
39
40
|
{
lib,
buildPythonPackage,
coapthon3,
fetchFromGitHub,
pycryptodomex,
setuptools,
}:
buildPythonPackage rec {
pname = "py-air-control";
version = "2.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rgerganov";
repo = "py-air-control";
tag = "v${version}";
hash = "sha256-3Qk1cmF31vJhUEckjfbYM9IDgD+gVkZtQlXel8iP/b8=";
};
build-system = [ setuptools ];
dependencies = [
pycryptodomex
coapthon3
];
# tests sometimes hang forever on tear-down
doCheck = false;
pythonImportsCheck = [ "pyairctrl" ];
meta = {
description = "Command Line App for Controlling Philips Air Purifiers";
homepage = "https://github.com/rgerganov/py-air-control";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ urbas ];
};
}
|