mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
python3Packages.pytwitchapi: make alias of twitchapi
The project is called twitchapi on PyPI.
This commit is contained in:
parent
aa9b3f4a93
commit
0482396f2f
4 changed files with 2 additions and 48 deletions
|
@ -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";
|
description = "Python implementation of the Twitch Helix API, its Webhook, PubSub and EventSub";
|
||||||
homepage = "https://github.com/Teekeks/pyTwitchAPI";
|
homepage = "https://github.com/Teekeks/pyTwitchAPI";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda wolfangaukang ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,6 +96,7 @@ mapAliases ({
|
||||||
python-subunit = subunit; # added 2021-09-10
|
python-subunit = subunit; # added 2021-09-10
|
||||||
pytest_xdist = pytest-xdist; # added 2021-01-04
|
pytest_xdist = pytest-xdist; # added 2021-01-04
|
||||||
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
|
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
|
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";
|
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
|
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 { };
|
pytweening = callPackage ../development/python-modules/pytweening { };
|
||||||
|
|
||||||
pytwitchapi = callPackage ../development/python-modules/pytwitchapi { };
|
|
||||||
|
|
||||||
pytz = callPackage ../development/python-modules/pytz { };
|
pytz = callPackage ../development/python-modules/pytz { };
|
||||||
|
|
||||||
pytz-deprecation-shim = callPackage ../development/python-modules/pytz-deprecation-shim { };
|
pytz-deprecation-shim = callPackage ../development/python-modules/pytz-deprecation-shim { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue