fix: update goose-cli to version 1.0.17-2

Updated the goose-cli package version and its related fetch attributes, including source revision and hashes. Added a new test to skip and removed unnecessary test exclusions for Darwin.
This commit is contained in:
Harald Hoyer 2025-04-15 12:09:01 +02:00
parent 35988e7888
commit acdb0851e7

View file

@ -23,20 +23,20 @@ let
meta.license = lib.licenses.unfree; meta.license = lib.licenses.unfree;
}; };
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage {
pname = "goose-cli"; pname = "goose-cli";
version = "1.0.17"; version = "1.0.17-2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "block"; owner = "block";
repo = "goose"; repo = "goose";
tag = "v${version}"; #tag = "v${version}";
#rev = "e7ad230957053dac7643701a69439ac19d5d2bf6"; rev = "167ac0efdc372ddbc80273c44d8497eafe0a901e";
hash = "sha256-l/lcwTNUq2xJHh0MKhnDZjRJ/5cANbdar/Vusf38esQ="; hash = "sha256-dWvqanbNvC4IX6ZRdTZhB0+T9vGNVxAEBj8DtPfN/VE=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-1xKWzgptnM1ZP0nQXILBoaKVwL2FyXpldTUIa1ITQO0="; cargoHash = "sha256-53W6gpt5eLw/WHMdEEWD4GmriHk2cAsNRzHv7niAb/0=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
@ -59,11 +59,10 @@ rustPlatform.buildRustPackage rec {
# need dbus-daemon # need dbus-daemon
"--skip=config::base::tests::test_multiple_secrets" "--skip=config::base::tests::test_multiple_secrets"
"--skip=config::base::tests::test_secret_management" "--skip=config::base::tests::test_secret_management"
"--skip=logging::tests::test_log_file_name::with_session_name_and_error_capture"
# Observer should be Some with both init project keys set # Observer should be Some with both init project keys set
"--skip=tracing::langfuse_layer::tests::test_create_langfuse_observer" "--skip=tracing::langfuse_layer::tests::test_create_langfuse_observer"
"--skip=providers::gcpauth::tests::test_token_refresh_race_condition" "--skip=providers::gcpauth::tests::test_token_refresh_race_condition"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Lazy instance has previously been poisoned # Lazy instance has previously been poisoned
"--skip=jetbrains::tests::test_capabilities" "--skip=jetbrains::tests::test_capabilities"
"--skip=jetbrains::tests::test_router_creation" "--skip=jetbrains::tests::test_router_creation"