1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "twinkly-client";
11 version = "0.0.3";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-F/N6yMOvLHIfXvPyR7z3P/Rlh79OvCbvEiNwClLSLl8=";
19 };
20
21 propagatedBuildInputs = [ aiohttp ];
22
23 # Project has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "twinkly_client" ];
27
28 meta = with lib; {
29 description = "Python module to communicate with Twinkly LED strings";
30 homepage = "https://github.com/dr1rrb/py-twinkly-client";
31 license = with licenses; [ asl20 ];
32 maintainers = with maintainers; [ fab ];
33 };
34}