diff options
Diffstat (limited to 'pkgs')
-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" |