tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.python-twitch-client: init at 0.7.1
Fabian Affolter
5 years ago
db100ec8
e59a33db
+39
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
python-twitch-client
default.nix
top-level
python-packages.nix
+37
pkgs/development/python-modules/python-twitch-client/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, fetchFromGitHub
4
+
, pytestCheckHook
5
+
, pythonOlder
6
+
, requests
7
+
, responses
8
+
}:
9
+
10
+
buildPythonPackage rec {
11
+
pname = "python-twitch-client";
12
+
version = "0.7.1";
13
+
disabled = pythonOlder "3.6";
14
+
15
+
src = fetchFromGitHub {
16
+
owner = "tsifrer";
17
+
repo = pname;
18
+
rev = version;
19
+
sha256 = "10wwkam3dw0nqr3v9xzigx1zjlrnrhzr7jvihddvzi84vjb6j443";
20
+
};
21
+
22
+
propagatedBuildInputs = [ requests ];
23
+
24
+
checkInputs = [
25
+
pytestCheckHook
26
+
responses
27
+
];
28
+
29
+
pythonImportsCheck = [ "twitch" ];
30
+
31
+
meta = with lib; {
32
+
description = "Python wrapper for the Twitch API";
33
+
homepage = "https://github.com/tsifrer/python-twitch-client";
34
+
license = with licenses; [ mit ];
35
+
maintainers = with maintainers; [ fab ];
36
+
};
37
+
}
+2
pkgs/top-level/python-packages.nix
···
6487
6488
python-toolbox = callPackage ../development/python-modules/python-toolbox { };
6489
0
0
6490
python-twitter = callPackage ../development/python-modules/python-twitter { };
6491
6492
python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };
···
6487
6488
python-toolbox = callPackage ../development/python-modules/python-toolbox { };
6489
6490
+
python-twitch-client = callPackage ../development/python-modules/python-twitch-client { };
6491
+
6492
python-twitter = callPackage ../development/python-modules/python-twitter { };
6493
6494
python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };