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