blob: 32baa25e52e784e98375b59a015e7a38b978c463 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, asyncio-dgram
, click
}:
buildPythonPackage rec {
pname = "pywizlight";
version = "0.4.1";
src = fetchFromGitHub {
owner = "sbidy";
repo = pname;
rev = "v${version}";
sha256 = "0kyhyda28zbni9sjv6kvky6wlhqldl47niddgpbjsv5dlb9xvxns";
};
propagatedBuildInputs = [
asyncio-dgram
click
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "pywizlight" ];
meta = with lib; {
description = "Python connector for WiZ light bulbs";
homepage = "https://github.com/sbidy/pywizlight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|