about summary refs log tree commit diff stats
path: root/pkgs/by-name/yt/yt/package.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 15:28:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 15:28:15 +0200
commitf792cbe111f654a5bab4ddbcebd519a41589c31c (patch)
treea9f5c32ca23c22f2a9cc881d1c7bc565e3820039 /pkgs/by-name/yt/yt/package.nix
parentfix(pkgs/yt): Update to 0.1.3 (diff)
downloadnixos-config-f792cbe111f654a5bab4ddbcebd519a41589c31c.zip
fix(pkgs/yt): Update to v1.0.0
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"