streamlink: add the decompress
extra
This extra was added in Streamlink 7.2.0 and may be required by some websites. See https://github.com/streamlink/streamlink/pull/6451
This commit is contained in:
parent
7b47ba69b3
commit
adb5e9697c
@ -4,6 +4,9 @@
|
|||||||
fetchPypi,
|
fetchPypi,
|
||||||
replaceVars,
|
replaceVars,
|
||||||
ffmpeg,
|
ffmpeg,
|
||||||
|
extras ? [
|
||||||
|
"decompress"
|
||||||
|
],
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
@ -39,19 +42,26 @@ python3Packages.buildPythonApplication rec {
|
|||||||
"test_no_cache"
|
"test_no_cache"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs =
|
||||||
certifi
|
with python3Packages;
|
||||||
isodate
|
[
|
||||||
lxml
|
certifi
|
||||||
pycountry
|
isodate
|
||||||
pycryptodome
|
lxml
|
||||||
pysocks
|
pycountry
|
||||||
requests
|
pycryptodome
|
||||||
trio
|
pysocks
|
||||||
trio-websocket
|
requests
|
||||||
urllib3
|
trio
|
||||||
websocket-client
|
trio-websocket
|
||||||
];
|
urllib3
|
||||||
|
websocket-client
|
||||||
|
]
|
||||||
|
++ lib.attrVals extras optional-dependencies;
|
||||||
|
|
||||||
|
optional-dependencies = with python3Packages; {
|
||||||
|
decompress = urllib3.optional-dependencies.brotli ++ urllib3.optional-dependencies.zstd;
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
changelog = "https://streamlink.github.io/changelog.html";
|
changelog = "https://streamlink.github.io/changelog.html";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user