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:
parent
acdb0851e7
commit
ef88ff4b58
|
@ -12,6 +12,7 @@
|
||||||
,
|
,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
version = "1.0.18";
|
||||||
gpt-4o-tokenizer = fetchurl {
|
gpt-4o-tokenizer = fetchurl {
|
||||||
url = "https://huggingface.co/Xenova/gpt-4o/resolve/31376962e96831b948abe05d420160d0793a65a4/tokenizer.json";
|
url = "https://huggingface.co/Xenova/gpt-4o/resolve/31376962e96831b948abe05d420160d0793a65a4/tokenizer.json";
|
||||||
hash = "sha256-Q6OtRhimqTj4wmFBVOoQwxrVOmLVaDrgsOYTNXXO8H4=";
|
hash = "sha256-Q6OtRhimqTj4wmFBVOoQwxrVOmLVaDrgsOYTNXXO8H4=";
|
||||||
|
@ -23,20 +24,20 @@ let
|
||||||
meta.license = lib.licenses.unfree;
|
meta.license = lib.licenses.unfree;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "goose-cli";
|
pname = "goose-cli";
|
||||||
version = "1.0.17-2";
|
inherit version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "block";
|
owner = "block";
|
||||||
repo = "goose";
|
repo = "goose";
|
||||||
#tag = "v${version}";
|
tag = "v${version}";
|
||||||
rev = "167ac0efdc372ddbc80273c44d8497eafe0a901e";
|
#rev = "167ac0efdc372ddbc80273c44d8497eafe0a901e";
|
||||||
hash = "sha256-dWvqanbNvC4IX6ZRdTZhB0+T9vGNVxAEBj8DtPfN/VE=";
|
hash = "sha256-SCQxr1C02VdnI2rKrLvmuB2U1Ynu9IUoyISrTcmgcB8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-53W6gpt5eLw/WHMdEEWD4GmriHk2cAsNRzHv7niAb/0=";
|
cargoHash = "sha256-vLXMBRY/7W9NMXs5qxe5cbDmehitmvrEBbMV0ZAVKrA=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue