Merge pull request #113785 from fabaff/twinkly-client

python3Packages.twinkly-client: init at 0.0.2
This commit is contained in:
Martin Weinelt 2021-02-27 17:52:00 +01:00 committed by GitHub
commit e980bfd90e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 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

@ -870,7 +870,7 @@
"twilio" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];
"twinkly" = ps: with ps; [ ]; # missing inputs: twinkly-client
"twinkly" = ps: with ps; [ twinkly-client ];
"twitch" = ps: with ps; [ python-twitch-client ];
"twitter" = ps: with ps; [ twitterapi ];
"ubus" = ps: with ps; [ ];

View File

@ -8043,6 +8043,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 { };