git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.pytwitchapi: make alias of twitchapi

The project is called twitchapi on PyPI.

commit0482396f2f69e8a2c19c945b6ba91f3409dc9ffc authorRobert Schütz <nix@dotlambda.de> dateMon 7 Mar 2022, 20:02 (5 years ago) parentaa9b3f4
4 files changed+2−48
pkgs/development/python-modules/pytwitchapi/default.nix−45 pkgs/development/python-modules/twitchapi/default.nix+1−1 pkgs/top-level/python-aliases.nix+1 pkgs/top-level/python-packages.nix−2
pkgs/development/python-modules/pytwitchapi/default.nixdeleted−45
@@ -1,45 +0,0 @@
1−{ lib
2−, buildPythonPackage
3−, fetchFromGitHub
4−, pythonOlder
5−, aiohttp
6−, python-dateutil
7−, requests
8−, websockets
9−}:
10−
11−buildPythonPackage rec {
12− pname = "pytwitchapi";
13− version = "2.5.2";
14− format = "setuptools";
15−
16− disabled = pythonOlder "3.7";
17−
18− src = fetchFromGitHub {
19− owner = "Teekeks";
20− repo = "pyTwitchAPI";
21− rev = "v${version}";
22− hash = "sha256-i+oAx23bMu+jaXHPWElD5GJH6vSytW/9N1amsmma4Lc=";
23− };
24−
25− propagatedBuildInputs = [
26− aiohttp
27− python-dateutil
28− requests
29− websockets
30− ];
31−
32− # Project has no tests.
33− doCheck = false;
34−
35− pythonImportsCheck = [
36− "twitchAPI"
37− ];
38−
39− meta = with lib; {
40− description = "Python implementation of the Twitch Helix API, its Webhook and PubSub";
41− homepage = "https://github.com/Teekeks/pyTwitchAPI";
42− license = licenses.mit;
43− maintainers = with maintainers; [ wolfangaukang ];
44− };
45−}
pkgs/development/python-modules/twitchapi/default.nix+1−1
@@ -43,6 +43,6 @@ buildPythonPackage rec {
4343 description = "Python implementation of the Twitch Helix API, its Webhook, PubSub and EventSub";
4444 homepage = "https://github.com/Teekeks/pyTwitchAPI";
4545 license = licenses.mit;
46− maintainers = with maintainers; [ dotlambda ];
46+ maintainers = with maintainers; [ dotlambda wolfangaukang ];
4747 };
4848}
pkgs/top-level/python-aliases.nix+1
@@ -96,6 +96,7 @@ mapAliases ({
9696 python-subunit = subunit; # added 2021-09-10
9797 pytest_xdist = pytest-xdist; # added 2021-01-04
9898 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
99+ pytwitchapi = twitchapi; # added 2022-03-07
99100 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
100101 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
101102 rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
pkgs/top-level/python-packages.nix−2
@@ -8341,8 +8341,6 @@ in {
83418341
83428342 pytweening = callPackage ../development/python-modules/pytweening { };
83438343
8344− pytwitchapi = callPackage ../development/python-modules/pytwitchapi { };
8345−
83468344 pytz = callPackage ../development/python-modules/pytz { };
83478345
83488346 pytz-deprecation-shim = callPackage ../development/python-modules/pytz-deprecation-shim { };