goose-cli: 1.0.24 -> 1.0.27

- Update version string from 1.0.24 to 1.0.27
- Update hashes
- Add protobuf to nativeBuildInputs (required by lance-encoding dependency, which is introduced on bf1c0d51e4)
- Skip tests that require API keys (introduced on 2f8f8e5767)
This commit is contained in:
ROCKTAKEY
2025-06-13 23:14:31 +09:00
parent 2c2cdda322
commit c2ddfc198c

View File

@@ -7,6 +7,7 @@
dbus,
xorg,
pkg-config,
protobuf,
writableTmpDirAsHomeHook,
nix-update-script,
llvmPackages,
@@ -26,19 +27,22 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "goose-cli";
version = "1.0.24";
version = "1.0.27";
src = fetchFromGitHub {
owner = "block";
repo = "goose";
tag = "v${finalAttrs.version}";
hash = "sha256-pkqZZwA25IszAnaW0G5adUI2NIEqqQnTQRqlqHWgJRg=";
hash = "sha256-+HNAOw/BJVNHiDHeEBKoAAs66IXCdYhm1VzVFIzk4m8=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-Wct5XnBueG58+A4zZpcKy0vA2Kjwmtk505JZKNPFTDQ=";
cargoHash = "sha256-v+UQFbFpkwX+7oNFvKf2v2u3OSkPdgOWntXLW6XJibE=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
protobuf
];
buildInputs = [ dbus ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xorg.libxcb ];
@@ -70,6 +74,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
"--skip=logging::tests::test_log_file_name::with_session_name_without_error_capture"
"--skip=logging::tests::test_log_file_name::without_session_name"
"--skip=developer::tests::test_text_editor_str_replace"
# need API keys
"--skip=providers::factory::tests::test_create_lead_worker_provider"
"--skip=providers::factory::tests::test_create_regular_provider_without_lead_config"
"--skip=providers::factory::tests::test_lead_model_env_vars_with_defaults"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"--skip=providers::gcpauth::tests::test_load_from_metadata_server"