blob: 55559085f2f33686acf42472f8b195ba1d082f6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
requests,
rx,
pytestCheckHook,
responses,
isPy3k,
}:
buildPythonPackage rec {
pname = "twitch-python";
version = "0.0.20";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bgnXIQuOCrtoknZ9ciB56zWxTCnncM2032TVaey6oXw=";
};
disabled = !isPy3k;
postPatch = ''
substituteInPlace setup.py --replace-fail "'pipenv'," ""
'';
build-system = [ setuptools ];
dependencies = [
requests
rx
];
nativeCheckInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [ "twitch" ];
meta = {
description = "Twitch module for Python";
homepage = "https://github.com/PetterKraabol/Twitch-Python";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|