mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #113785 from fabaff/twinkly-client
python3Packages.twinkly-client: init at 0.0.2
This commit is contained in:
commit
e980bfd90e
30
pkgs/development/python-modules/twinkly-client/default.nix
Normal file
30
pkgs/development/python-modules/twinkly-client/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; [ ];
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user