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 '';