tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
streamlink: 2.4.0 -> 3.0.1
D Anzorge
4 years ago
74c99a1c
a8076300
+9
-16
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
streamlink
default.nix
+9
-16
pkgs/applications/video/streamlink/default.nix
···
1
{ lib
2
, python3Packages
3
-
, rtmpdump
4
, ffmpeg
5
, fetchpatch
6
}:
7
8
python3Packages.buildPythonApplication rec {
9
pname = "streamlink";
10
-
version = "2.4.0";
11
12
src = python3Packages.fetchPypi {
13
inherit pname version;
14
-
sha256 = "e95588e222d1a7bd51e3171cd4bce84fd6f646418537aff37993d40f597810af";
15
};
16
17
checkInputs = with python3Packages; [
···
22
];
23
24
propagatedBuildInputs = (with python3Packages; [
0
0
0
25
pycryptodome
0
26
requests
27
-
iso-639
28
-
iso3166
29
websocket-client
30
-
isodate
31
-
lxml
32
]) ++ [
33
-
rtmpdump
34
ffmpeg
35
];
36
37
-
patches = [
38
-
# Patch failing tests to expect correct Accept-Encoding as generated by Requests
39
-
(fetchpatch {
40
-
url = "https://github.com/streamlink/streamlink/commit/ae747a113199c119bced4613d33edcc67a222bb9.patch";
41
-
includes = [ "tests/test_stream_json.py" ];
42
-
sha256 = "sha256-KEgyWdh5DNgNktmLSvKQowUQO9p9Q7zP4NbCQJPNgKw=";
43
-
})
44
-
];
45
46
meta = with lib; {
47
homepage = "https://streamlink.github.io/";
···
1
{ lib
2
, python3Packages
0
3
, ffmpeg
4
, fetchpatch
5
}:
6
7
python3Packages.buildPythonApplication rec {
8
pname = "streamlink";
9
+
version = "3.0.1";
10
11
src = python3Packages.fetchPypi {
12
inherit pname version;
13
+
sha256 = "sha256-GDbUlu5tRL5mdT7KrIdmxCbeAtYL1xvZXyZFwiuvKXo=";
14
};
15
16
checkInputs = with python3Packages; [
···
21
];
22
23
propagatedBuildInputs = (with python3Packages; [
24
+
isodate
25
+
lxml
26
+
pycountry
27
pycryptodome
28
+
pysocks
29
requests
0
0
30
websocket-client
0
0
31
]) ++ [
0
32
ffmpeg
33
];
34
35
+
postPatch = ''
36
+
substituteInPlace setup.cfg --replace 'lxml >=4.6.4,<5.0' 'lxml'
37
+
'';
0
0
0
0
0
38
39
meta = with lib; {
40
homepage = "https://streamlink.github.io/";