diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-21 20:41:13 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-21 21:00:26 +0200 |
commit | 6a4e9446e2a4c4fde9bc076b80f898abcd4bc9ad (patch) | |
tree | 03114d34ff04a5a8f441ef08e8ec7e2b232567c0 | |
parent | fix(pkgs/yt): Wrap with the needed dependencies (diff) | |
download | nixos-config-6a4e9446e2a4c4fde9bc076b80f898abcd4bc9ad.tar.gz nixos-config-6a4e9446e2a4c4fde9bc076b80f898abcd4bc9ad.zip |
fix(pkgs/yt): Update to 0.1.3
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/yt/yt/package.nix | 21 |
1 files changed, 12 insertions, 9 deletions
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" |