Merge pull request #304263 from marsam/update-twitch-dl
twitch-dl: 2.1.4 -> 2.2.0
This commit is contained in:
commit
1df062db9e
|
@ -7,28 +7,38 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "twitch-dl";
|
pname = "twitch-dl";
|
||||||
version = "2.1.4";
|
version = "2.2.0";
|
||||||
|
pyproject = true;
|
||||||
format = "setuptools";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ihabunek";
|
owner = "ihabunek";
|
||||||
repo = "twitch-dl";
|
repo = "twitch-dl";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-0mITsNQQWG6lVQSxnDdU4ta548AR9q+zs/E96uwtG/U=";
|
hash = "sha256-H2SxZgEjVdj/GRguJ2v/WWUrh0VTrwFV9mZVn/EYyPg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail 'm3u8>=1.0.0,<4.0.0' 'm3u8>=1.0.0'
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
python3Packages.setuptools
|
||||||
|
python3Packages.setuptools-scm
|
||||||
installShellFiles
|
installShellFiles
|
||||||
python3Packages.pytestCheckHook
|
|
||||||
scdoc
|
scdoc
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
click
|
||||||
httpx
|
httpx
|
||||||
m3u8
|
m3u8
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
python3Packages.pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# Requires network access
|
# Requires network access
|
||||||
"tests/test_api.py"
|
"tests/test_api.py"
|
||||||
|
@ -46,7 +56,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CLI tool for downloading videos from Twitch";
|
description = "CLI tool for downloading videos from Twitch";
|
||||||
homepage = "https://github.com/ihabunek/twitch-dl";
|
homepage = "https://github.com/ihabunek/twitch-dl";
|
||||||
changelog = "https://github.com/ihabunek/twitch-dl/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/ihabunek/twitch-dl/blob/${src.rev}/CHANGELOG.md";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ marsam ];
|
maintainers = with maintainers; [ marsam ];
|
||||||
mainProgram = "twitch-dl";
|
mainProgram = "twitch-dl";
|
|
@ -14049,8 +14049,6 @@ with pkgs;
|
||||||
|
|
||||||
twitch-chat-downloader = python3Packages.callPackage ../applications/misc/twitch-chat-downloader { };
|
twitch-chat-downloader = python3Packages.callPackage ../applications/misc/twitch-chat-downloader { };
|
||||||
|
|
||||||
twitch-dl = callPackage ../tools/misc/twitch-dl { };
|
|
||||||
|
|
||||||
twitterBootstrap = callPackage ../development/web/twitter-bootstrap { };
|
twitterBootstrap = callPackage ../development/web/twitter-bootstrap { };
|
||||||
|
|
||||||
twspace-crawler = callPackage ../tools/misc/twspace-crawler { };
|
twspace-crawler = callPackage ../tools/misc/twspace-crawler { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user