blob: a65daa55f651460f5445692b65416b018875164b (
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
39
40
41
|
{ lib
, bleak
, buildPythonPackage
, fetchFromGitHub
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "fjaraskupan";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "elupus";
repo = pname;
rev = version;
sha256 = "0r6l9cbl41ddg4mhw9g9rly9r7s70sscg1ysb99bsi8z6xml9za3";
};
propagatedBuildInputs = [
bleak
];
checkInputs = [
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "fjaraskupan" ];
meta = with lib; {
description = "Python module for controlling Fjäråskupan kitchen fans";
homepage = "https://github.com/elupus/fjaraskupan";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|