about summary refs log tree commit diff stats
path: root/pkgs/by-name/yt/yt/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/yt/yt/package.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/by-name/yt/yt/package.nix b/pkgs/by-name/yt/yt/package.nix
index 57dd28a8..70ea9606 100644
--- a/pkgs/by-name/yt/yt/package.nix
+++ b/pkgs/by-name/yt/yt/package.nix
@@ -10,17 +10,18 @@
   python3,
   rustPlatform,
   sqlite,
+  blake3,
 }: let
-  version = "0.1.3";
+  version = "1.0.0";
 
   src = fetchgit {
     url = "https://git.vhack.eu/soispha/clients/yt";
     rev = "v${version}";
-    hash = "sha256-ZWtRiNe47TCJ1ZOd5HW36nhJTmd+vQZbnxxaw68hkjc=";
+    hash = "sha256-uIlyWVkyRcCrm4HBA7F0b6r+gbJhA/bMCkQDCm+Mwhw=";
   };
 
   buildInputs = [
-    (python3.withPackages (ps: [ps.yt-dlp]))
+    (python3.withPackages (ps: [ps.yt-dlp blake3]))
     mpv-unwrapped.dev
     ffmpeg
   ];
@@ -55,7 +56,7 @@ in
       bash ./scripts/mkdb.sh
     '';
 
-    cargoHash = "sha256-uOm5kgcKoM56SmnKKC4bE7yHVZM0UT/OU4wwQO9XnTw=";
+    cargoHash = "sha256-/MNWCE3RA23kGGAj+M4b5BT/D/Ug3/TbkwOdJF+FKaM=";
 
     postBuild = ''
       install -m755 ./python_update/raw_update.py -D "$out/bin/raw_update.py"