Unverified Commit 2bb73c00 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

streamrip: relax all dependencies (#399990)

parents d5d34fcd 5d2a9b80
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -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
  '';