blob: 03eb3d3edd29f4f94fe1cd753cccd98a0dd67433 (
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
38
|
{
buildPythonPackage,
coapthon3,
fetchFromGitHub,
isPy27,
lib,
pycryptodomex,
}:
buildPythonPackage rec {
pname = "py-air-control";
version = "2.1.0";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rgerganov";
repo = pname;
rev = "v${version}";
sha256 = "0mkggl5hwmj90djxbbz4svim6iv7xl8k324cb4rlc75p5rgcdwmh";
};
propagatedBuildInputs = [
pycryptodomex
coapthon3
];
# tests sometimes hang forever on tear-down
doCheck = false;
pythonImportsCheck = [ "pyairctrl" ];
meta = with lib; {
inherit (src.meta) homepage;
description = "Command Line App for Controlling Philips Air Purifiers.";
license = licenses.mit;
maintainers = with maintainers; [ urbas ];
};
}
|