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.
This commit is contained in:
Harald Hoyer 2025-04-16 14:56:10 +02:00
parent acdb0851e7
commit ef88ff4b58

View file

@ -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 ];