python3Packages.twitchapi: init at 2.5.2

This commit is contained in:
Robert Schütz 2022-03-02 19:22:59 +00:00 committed by Jonathan Ringer
parent 7286be7e81
commit 6fc2b4b5e9
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, python-dateutil
, requests
, typing-extensions
, websockets
}:
buildPythonPackage rec {
pname = "twitchapi";
version = "2.5.2";
format = "setuptools";
src = fetchPypi {
pname = "twitchAPI";
inherit version;
sha256 = "f0ee5388911154375170a83df9a18e8a698fe382cea5d94a3e33ad27a7ce9133";
};
propagatedBuildInputs = [
aiohttp
python-dateutil
requests
typing-extensions
websockets
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"twitchAPI.eventsub"
"twitchAPI.oauth"
"twitchAPI.pubsub"
"twitchAPI.twitch"
"twitchAPI.types"
];
meta = with lib; {
description = "Python implementation of the Twitch Helix API, its Webhook, PubSub and EventSub";
homepage = "https://github.com/Teekeks/pyTwitchAPI";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -10137,6 +10137,8 @@ in {
twitch-python = callPackage ../development/python-modules/twitch-python { };
twitchapi = callPackage ../development/python-modules/twitchapi { };
twitter = callPackage ../development/python-modules/twitter { };
twitter-common-collections = callPackage ../development/python-modules/twitter-common-collections { };