From ef88ff4b58ff2ef3c2c80dfcfa0c35196d019c8d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 16 Apr 2025 14:56:10 +0200 Subject: [PATCH] chore(goose.nix): update goose-cli to version 1.0.18 Bumped the goose-cli version from 1.0.17-2 to 1.0.18 and updated corresponding hashes. Adjusted `tag` usage to dynamically inherit the version for consistency. --- overlays/unstable/goose.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/overlays/unstable/goose.nix b/overlays/unstable/goose.nix index 556b55a..a42e208 100644 --- a/overlays/unstable/goose.nix +++ b/overlays/unstable/goose.nix @@ -12,6 +12,7 @@ , }: let + version = "1.0.18"; gpt-4o-tokenizer = fetchurl { url = "https://huggingface.co/Xenova/gpt-4o/resolve/31376962e96831b948abe05d420160d0793a65a4/tokenizer.json"; hash = "sha256-Q6OtRhimqTj4wmFBVOoQwxrVOmLVaDrgsOYTNXXO8H4="; @@ -23,20 +24,20 @@ let meta.license = lib.licenses.unfree; }; in -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "goose-cli"; - version = "1.0.17-2"; + inherit version; src = fetchFromGitHub { owner = "block"; repo = "goose"; - #tag = "v${version}"; - rev = "167ac0efdc372ddbc80273c44d8497eafe0a901e"; - hash = "sha256-dWvqanbNvC4IX6ZRdTZhB0+T9vGNVxAEBj8DtPfN/VE="; + tag = "v${version}"; + #rev = "167ac0efdc372ddbc80273c44d8497eafe0a901e"; + hash = "sha256-SCQxr1C02VdnI2rKrLvmuB2U1Ynu9IUoyISrTcmgcB8="; }; useFetchCargoVendor = true; - cargoHash = "sha256-53W6gpt5eLw/WHMdEEWD4GmriHk2cAsNRzHv7niAb/0="; + cargoHash = "sha256-vLXMBRY/7W9NMXs5qxe5cbDmehitmvrEBbMV0ZAVKrA="; nativeBuildInputs = [ pkg-config ];