Loading pkgs/by-name/yt/yt-dlp/package.nix +8 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,14 @@ python3Packages.buildPythonApplication rec { # Requires network doCheck = false; # curl-cffi 0.7.2 and 0.7.3 are broken, but 0.7.4 is fixed # https://github.com/lexiforest/curl_cffi/issues/394 postPatch = '' substituteInPlace yt_dlp/networking/_curlcffi.py \ --replace-fail "(0, 7, 0) <= curl_cffi_version < (0, 7, 2)" \ "((0, 7, 0) <= curl_cffi_version < (0, 7, 2)) or curl_cffi_version >= (0, 7, 4)" ''; postInstall = lib.optionalString withAlias '' ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl" ''; Loading pkgs/development/python-modules/curl-cffi/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "curl-cffi"; version = "0.7.2"; version = "0.7.4"; pyproject = true; src = fetchFromGitHub { owner = "lexiforest"; repo = "curl_cffi"; rev = "refs/tags/v${version}"; hash = "sha256-s8P/7erdAeGZuykUrgpCcm0a4ym3Y8F6kKFXoDXsOdQ="; hash = "sha256-Q1VppzQ1Go+ia1D1BemTf40o9wV0miWyoGy/tY+95qE=="; }; patches = [ ./use-system-libs.patch ]; Loading Loading
pkgs/by-name/yt/yt-dlp/package.nix +8 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,14 @@ python3Packages.buildPythonApplication rec { # Requires network doCheck = false; # curl-cffi 0.7.2 and 0.7.3 are broken, but 0.7.4 is fixed # https://github.com/lexiforest/curl_cffi/issues/394 postPatch = '' substituteInPlace yt_dlp/networking/_curlcffi.py \ --replace-fail "(0, 7, 0) <= curl_cffi_version < (0, 7, 2)" \ "((0, 7, 0) <= curl_cffi_version < (0, 7, 2)) or curl_cffi_version >= (0, 7, 4)" ''; postInstall = lib.optionalString withAlias '' ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl" ''; Loading
pkgs/development/python-modules/curl-cffi/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "curl-cffi"; version = "0.7.2"; version = "0.7.4"; pyproject = true; src = fetchFromGitHub { owner = "lexiforest"; repo = "curl_cffi"; rev = "refs/tags/v${version}"; hash = "sha256-s8P/7erdAeGZuykUrgpCcm0a4ym3Y8F6kKFXoDXsOdQ="; hash = "sha256-Q1VppzQ1Go+ia1D1BemTf40o9wV0miWyoGy/tY+95qE=="; }; patches = [ ./use-system-libs.patch ]; Loading