From 6a4e9446e2a4c4fde9bc076b80f898abcd4bc9ad Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 21 Aug 2024 20:41:13 +0200 Subject: fix(pkgs/yt): Update to 0.1.3 --- pkgs/by-name/yt/yt/package.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'pkgs') diff --git a/pkgs/by-name/yt/yt/package.nix b/pkgs/by-name/yt/yt/package.nix index c85a6c83..57dd28a8 100644 --- a/pkgs/by-name/yt/yt/package.nix +++ b/pkgs/by-name/yt/yt/package.nix @@ -1,21 +1,22 @@ { - rustPlatform, - python3, - makeWrapper, fetchgit, - sqlite, - lib, ffmpeg, - llvmPackages_latest, + gitUpdater, glibc, + lib, + llvmPackages_latest, + makeWrapper, mpv-unwrapped, + python3, + rustPlatform, + sqlite, }: let - version = "0.1.1"; + version = "0.1.3"; src = fetchgit { url = "https://git.vhack.eu/soispha/clients/yt"; rev = "v${version}"; - hash = "sha256-glaGJ9E4myuSL1Q01Ll6YFfuWgzJwz+xavmmk6PKp80="; + hash = "sha256-ZWtRiNe47TCJ1ZOd5HW36nhJTmd+vQZbnxxaw68hkjc="; }; buildInputs = [ @@ -33,6 +34,8 @@ in sqlite ]; + passthru.updateScript = gitUpdater {rev-prefix = "v";}; + env = let clang_version = lib.versions.major @@ -52,7 +55,7 @@ in bash ./scripts/mkdb.sh ''; - cargoHash = "sha256-s3kbrIIhxqqogbiAathyKXI4SyZV3bIpMqXfk5nnVZo="; + cargoHash = "sha256-uOm5kgcKoM56SmnKKC4bE7yHVZM0UT/OU4wwQO9XnTw="; postBuild = '' install -m755 ./python_update/raw_update.py -D "$out/bin/raw_update.py" -- cgit 1.4.1