mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python3Packages.twitchapi: init at 2.5.2
This commit is contained in:
parent
7286be7e81
commit
6fc2b4b5e9
48
pkgs/development/python-modules/twitchapi/default.nix
Normal file
48
pkgs/development/python-modules/twitchapi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user