From 5d2a9b809f6ccd93a735f2241e40b42d2ef90685 Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Sat, 19 Apr 2025 10:36:37 +0300 Subject: [PATCH] streamrip: relax all dependencies --- pkgs/by-name/st/streamrip/package.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/st/streamrip/package.nix b/pkgs/by-name/st/streamrip/package.nix index 4b84727083bd..9fa90e8b6603 100644 --- a/pkgs/by-name/st/streamrip/package.nix +++ b/pkgs/by-name/st/streamrip/package.nix @@ -52,15 +52,9 @@ python3Packages.buildPythonApplication rec { pytestCheckHook ]; - prePatch = '' - sed -i 's#aiofiles = ".*"#aiofiles = "*"#' pyproject.toml - sed -i 's#deezer-py = ".*"#deezer-py = "*"#' pyproject.toml - sed -i 's#m3u8 = ".*"#m3u8 = "*"#' pyproject.toml - sed -i 's#pathvalidate = ".*"#pathvalidate = "*"#' pyproject.toml - sed -i 's#Pillow = ".*"#Pillow = "*"#' pyproject.toml - sed -i 's#pytest-asyncio = ".*"#pytest-asyncio = "*"#' pyproject.toml - sed -i 's#tomlkit = ".*"#tomlkit = "*"#' pyproject.toml + pythonRelaxDeps = true; + prePatch = '' sed -i 's#"ffmpeg"#"${lib.getBin ffmpeg}/bin/ffmpeg"#g' streamrip/client/downloadable.py '';