@@ -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−}