python3Packages.pytwitchapi: make alias of twitchapi

The project is called twitchapi on PyPI.
main
Robert Schütz 2 years ago committed by Jonathan Ringer
parent aa9b3f4a93
commit 0482396f2f
  1. 45
      pkgs/development/python-modules/pytwitchapi/default.nix
  2. 2
      pkgs/development/python-modules/twitchapi/default.nix
  3. 1
      pkgs/top-level/python-aliases.nix
  4. 2
      pkgs/top-level/python-packages.nix

@ -1,45 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aiohttp
, python-dateutil
, requests
, websockets
}:
buildPythonPackage rec {
pname = "pytwitchapi";
version = "2.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Teekeks";
repo = "pyTwitchAPI";
rev = "v${version}";
hash = "sha256-i+oAx23bMu+jaXHPWElD5GJH6vSytW/9N1amsmma4Lc=";
};
propagatedBuildInputs = [
aiohttp
python-dateutil
requests
websockets
];
# Project has no tests.
doCheck = false;
pythonImportsCheck = [
"twitchAPI"
];
meta = with lib; {
description = "Python implementation of the Twitch Helix API, its Webhook and PubSub";
homepage = "https://github.com/Teekeks/pyTwitchAPI";
license = licenses.mit;
maintainers = with maintainers; [ wolfangaukang ];
};
}

@ -43,6 +43,6 @@ buildPythonPackage rec {
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 ];
maintainers = with maintainers; [ dotlambda wolfangaukang ];
};
}

@ -96,6 +96,7 @@ mapAliases ({
python-subunit = subunit; # added 2021-09-10
pytest_xdist = pytest-xdist; # added 2021-01-04
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
pytwitchapi = twitchapi; # added 2022-03-07
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05

@ -8341,8 +8341,6 @@ in {
pytweening = callPackage ../development/python-modules/pytweening { };
pytwitchapi = callPackage ../development/python-modules/pytwitchapi { };
pytz = callPackage ../development/python-modules/pytz { };
pytz-deprecation-shim = callPackage ../development/python-modules/pytz-deprecation-shim { };

Loading…
Cancel
Save