blob: 1e986848d5cf4504c74048a4b048efca6551f114 (
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,
ifaddr,
requests,
}:
buildPythonPackage rec {
pname = "pywilight";
version = "0.0.74";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-patCdQ7qLEfy+RpH9T/Fa8ubI7QF6OmLzFUokZc5syQ=";
};
propagatedBuildInputs = [
ifaddr
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pywilight" ];
meta = {
description = "Python API for WiLight device";
homepage = "https://github.com/leofig-rj/pywilight";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|