From 1afe96285493d23db68ce6d8926f9c0ea152c0b3 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 11 Sep 2024 00:18:41 +0200 Subject: [PATCH] twitch-dl: 2.8.2 -> 2.9.1 Diff: https://github.com/ihabunek/twitch-dl/compare/refs/tags/2.8.2...2.9.1 Changelog: https://github.com/ihabunek/twitch-dl/blob/refs/tags/2.9.1/CHANGELOG.md --- pkgs/by-name/tw/twitch-dl/package.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/tw/twitch-dl/package.nix b/pkgs/by-name/tw/twitch-dl/package.nix index 7da567ffd4ac5..881f13254c5ba 100644 --- a/pkgs/by-name/tw/twitch-dl/package.nix +++ b/pkgs/by-name/tw/twitch-dl/package.nix @@ -7,14 +7,14 @@ python3Packages.buildPythonApplication rec { pname = "twitch-dl"; - version = "2.8.2"; + version = "2.9.1"; pyproject = true; src = fetchFromGitHub { owner = "ihabunek"; repo = "twitch-dl"; rev = "refs/tags/${version}"; - hash = "sha256-9isWxY87ppFPIA6hjyuuCqKxt7Io4h8PUhIs+SPSBvA="; + hash = "sha256-YsSpa3beRny+Tpn7B93OtYqYxjtAMaBa5k4I2zvKgbY="; }; pythonRelaxDeps = [ @@ -63,6 +63,10 @@ python3Packages.buildPythonApplication rec { installManPage twitch-dl.1 ''; + preInstallCheck = '' + export HOME="$(mktemp -d)" + ''; + meta = with lib; { description = "CLI tool for downloading videos from Twitch"; homepage = "https://github.com/ihabunek/twitch-dl";