Unverified Commit 36e43df7 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

yt-dlp: 2025.11.12 -> 2025.12.08 (#468875)

parents 2cef7a0b a5b0fe55
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,14 +21,14 @@ python3Packages.buildPythonApplication rec {
  # The websites yt-dlp deals with are a very moving target. That means that
  # downloads break constantly. Because of that, updates should always be backported
  # to the latest stable release.
  version = "2025.11.12";
  version = "2025.12.08";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "yt-dlp";
    repo = "yt-dlp";
    tag = version;
    hash = "sha256-Em8FLcCizSfvucg+KPuJyhFZ5MJ8STTjSpqaTD5xeKI=";
    hash = "sha256-y06MDP+CrlHGrell9hcLOGlHp/gU2OOxs7can4hbj+g=";
  };

  postPatch = ''
+12 −17
Original line number Diff line number Diff line
@@ -2,37 +2,32 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchNpmDeps,
  hatch-vcs,
  hatchling,
  nodejs,
  npmHooks,
  pnpm,
}:

buildPythonPackage rec {
  pname = "yt-dlp-ejs";
  version = "0.3.1";
  version = "0.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "yt-dlp";
    repo = "ejs";
    tag = version;
    hash = "sha256-PoZ7qmrf8en254im2D7fWy9jYiaJwFpq6ZXZP9ouOOQ=";
    hash = "sha256-o6qf4rfj42mCyvCBb+wyJmZKg3Q+ojsqbCcBfIJnTPg=";
  };

  postPatch = ''
    # remove when upstream has a lock file we support https://github.com/yt-dlp/ejs/issues/29
    cp ${./package-lock.json} package-lock.json

    # we already ran npm install
    substituteInPlace hatch_build.py \
      --replace-fail 'subprocess.run(["npm", "install"], check=True, shell=requires_shell)' ""
  '';

  npmDeps = fetchNpmDeps {
    inherit src postPatch;
    hash = "sha256-2Xzetr2pb8J2w+ghfoTVP6oZTeVbHV7EcovwxElnUbA=";
  pnpmDeps = pnpm.fetchDeps {
    inherit
      pname
      version
      src
      ;
    fetcherVersion = 2;
    hash = "sha256-3hhwKUzfdlKmth4uRlfBSdxEOIfhAVaq2PZIOHWGWiM=";
  };

  build-system = [
@@ -42,7 +37,7 @@ buildPythonPackage rec {

  nativeBuildInputs = [
    nodejs
    npmHooks.npmConfigHook
    pnpm.configHook
  ];

  meta = {
+0 −3186

File deleted.

Preview size limit exceeded, changes collapsed.