python3Packages.twinkly-client: init at 0.0.2

This commit is contained in:
Fabian Affolter 2021-02-20 16:29:25 +01:00
parent 8dfaad76ff
commit 20cd1e1ffb
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "twinkly-client";
version = "0.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "16jbm4ya4yk2nfswza1kpgks70rmy5lpsv9dv3hdjdnr1j44hr3i";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "twinkly_client" ];
meta = with lib; {
description = "Python module to communicate with Twinkly LED strings";
homepage = "https://github.com/dr1rrb/py-twinkly-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -8013,6 +8013,8 @@ in {
twine = callPackage ../development/python-modules/twine { };
twinkly-client = callPackage ../development/python-modules/twinkly-client { };
twisted = callPackage ../development/python-modules/twisted { };
twitch-python = callPackage ../development/python-modules/twitch-python { };