diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-30 16:18:18 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-30 16:18:18 +0100 |
| commit | ba7c867bfda552821a4e3d5cc56940437386980f (patch) | |
| tree | d803b1b727e95931a1e12c19fe3de5e405041a3b /pkgs | |
| parent | modules/nixpkgs/config: Remove (diff) | |
| download | nixos-config-ba7c867bfda552821a4e3d5cc56940437386980f.zip | |
pkgs/yt: 1.8.0 -> 1.9.0
Diffstat (limited to '')
| -rw-r--r-- | pkgs/by-name/yt/yt/package.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/by-name/yt/yt/package.nix b/pkgs/by-name/yt/yt/package.nix index b17e9120..2c34a0bb 100644 --- a/pkgs/by-name/yt/yt/package.nix +++ b/pkgs/by-name/yt/yt/package.nix @@ -15,11 +15,12 @@ gitUpdater, # buildInputs mpv-unwrapped, - ffmpeg, + ffmpeg-headless, openssl, libffi, zlib, curl, + deno, # NativeBuildInputs python3, makeWrapper, @@ -31,7 +32,7 @@ pkg-config, SDL2, }: let - version = "1.8.0"; + version = "1.9.0"; python = python3.withPackages (ps: [ps.yt-dlp]); in rustPlatform.buildRustPackage (finalAttrs: { @@ -41,19 +42,20 @@ in src = fetchgit { url = "https://git.foss-syndicate.org/bpeetz/clients/yt"; tag = "v${version}"; - hash = "sha256-J1fGNV/0vjNzF/no7ffE4Sxyr3g5/zDzb2EPcSiqN2o="; + hash = "sha256-/Isgqe7Hda/1kwYY+ciQH/NBAcWvM92vDxWZ9svlQAM="; }; - cargoHash = "sha256-U7yLOhrDBnzNotW+zWjR9s0VzoropSJneo3LPn9VcAA="; + cargoHash = "sha256-U0alYK9mhz6esVf0mad9o7Ra6tRaL9HKCOftyOg34HE="; buildInputs = [ mpv-unwrapped.dev - ffmpeg + ffmpeg-headless openssl libffi zlib curl.dev python + deno ]; nativeBuildInputs = [ @@ -81,7 +83,7 @@ in DATABASE_URL = "sqlite://database.sqlx"; # Required by yt_dlp - FFMPEG_LOCATION = "${lib.getExe ffmpeg}"; + FFMPEG_LOCATION = "${lib.getExe ffmpeg-headless}"; # Tell pyo3 which python to use. PYO3_PYTHON = lib.getExe python; |
