Merge pull request #304263 from marsam/update-twitch-dl

twitch-dl: 2.1.4 -> 2.2.0

authored by Mario Rodas and committed by GitHub 1df062db 4498a08b

+17 -9
+17 -7
pkgs/tools/misc/twitch-dl/default.nix pkgs/by-name/tw/twitch-dl/package.nix
··· 7 8 python3Packages.buildPythonApplication rec { 9 pname = "twitch-dl"; 10 - version = "2.1.4"; 11 - 12 - format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "ihabunek"; 16 repo = "twitch-dl"; 17 rev = "refs/tags/${version}"; 18 - hash = "sha256-0mITsNQQWG6lVQSxnDdU4ta548AR9q+zs/E96uwtG/U="; 19 }; 20 21 - nativeCheckInputs = [ 22 installShellFiles 23 - python3Packages.pytestCheckHook 24 scdoc 25 ]; 26 27 propagatedBuildInputs = with python3Packages; [ 28 httpx 29 m3u8 30 ]; 31 32 disabledTestPaths = [ ··· 46 meta = with lib; { 47 description = "CLI tool for downloading videos from Twitch"; 48 homepage = "https://github.com/ihabunek/twitch-dl"; 49 - changelog = "https://github.com/ihabunek/twitch-dl/blob/${version}/CHANGELOG.md"; 50 license = licenses.gpl3Only; 51 maintainers = with maintainers; [ marsam ]; 52 mainProgram = "twitch-dl";
··· 7 8 python3Packages.buildPythonApplication rec { 9 pname = "twitch-dl"; 10 + version = "2.2.0"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "ihabunek"; 15 repo = "twitch-dl"; 16 rev = "refs/tags/${version}"; 17 + hash = "sha256-H2SxZgEjVdj/GRguJ2v/WWUrh0VTrwFV9mZVn/EYyPg="; 18 }; 19 20 + postPatch = '' 21 + substituteInPlace pyproject.toml \ 22 + --replace-fail 'm3u8>=1.0.0,<4.0.0' 'm3u8>=1.0.0' 23 + ''; 24 + 25 + nativeBuildInputs = [ 26 + python3Packages.setuptools 27 + python3Packages.setuptools-scm 28 installShellFiles 29 scdoc 30 ]; 31 32 propagatedBuildInputs = with python3Packages; [ 33 + click 34 httpx 35 m3u8 36 + ]; 37 + 38 + nativeCheckInputs = [ 39 + python3Packages.pytestCheckHook 40 ]; 41 42 disabledTestPaths = [ ··· 56 meta = with lib; { 57 description = "CLI tool for downloading videos from Twitch"; 58 homepage = "https://github.com/ihabunek/twitch-dl"; 59 + changelog = "https://github.com/ihabunek/twitch-dl/blob/${src.rev}/CHANGELOG.md"; 60 license = licenses.gpl3Only; 61 maintainers = with maintainers; [ marsam ]; 62 mainProgram = "twitch-dl";
-2
pkgs/top-level/all-packages.nix
··· 14049 14050 twitch-chat-downloader = python3Packages.callPackage ../applications/misc/twitch-chat-downloader { }; 14051 14052 - twitch-dl = callPackage ../tools/misc/twitch-dl { }; 14053 - 14054 twitterBootstrap = callPackage ../development/web/twitter-bootstrap { }; 14055 14056 twspace-crawler = callPackage ../tools/misc/twspace-crawler { };
··· 14049 14050 twitch-chat-downloader = python3Packages.callPackage ../applications/misc/twitch-chat-downloader { }; 14051 14052 twitterBootstrap = callPackage ../development/web/twitter-bootstrap { }; 14053 14054 twspace-crawler = callPackage ../tools/misc/twspace-crawler { };