about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/yt/yt/package.nix14
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;