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
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, pytestCheckHook
5
5
+
, pythonOlder
6
6
+
, requests
7
7
+
, responses
8
8
+
}:
9
9
+
10
10
+
buildPythonPackage rec {
11
11
+
pname = "python-twitch-client";
12
12
+
version = "0.7.1";
13
13
+
disabled = pythonOlder "3.6";
14
14
+
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "tsifrer";
17
17
+
repo = pname;
18
18
+
rev = version;
19
19
+
sha256 = "10wwkam3dw0nqr3v9xzigx1zjlrnrhzr7jvihddvzi84vjb6j443";
20
20
+
};
21
21
+
22
22
+
propagatedBuildInputs = [ requests ];
23
23
+
24
24
+
checkInputs = [
25
25
+
pytestCheckHook
26
26
+
responses
27
27
+
];
28
28
+
29
29
+
pythonImportsCheck = [ "twitch" ];
30
30
+
31
31
+
meta = with lib; {
32
32
+
description = "Python wrapper for the Twitch API";
33
33
+
homepage = "https://github.com/tsifrer/python-twitch-client";
34
34
+
license = with licenses; [ mit ];
35
35
+
maintainers = with maintainers; [ fab ];
36
36
+
};
37
37
+
}
+2
pkgs/top-level/python-packages.nix
···
6487
6487
6488
6488
python-toolbox = callPackage ../development/python-modules/python-toolbox { };
6489
6489
6490
6490
+
python-twitch-client = callPackage ../development/python-modules/python-twitch-client { };
6491
6491
+
6490
6492
python-twitter = callPackage ../development/python-modules/python-twitter { };
6491
6493
6492
6494
python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };