diff --git a/pkgs/by-name/go/goose-cli/package.nix b/pkgs/by-name/go/goose-cli/package.nix index 22b72675f74b..cda7b6abd5e1 100644 --- a/pkgs/by-name/go/goose-cli/package.nix +++ b/pkgs/by-name/go/goose-cli/package.nix @@ -24,19 +24,19 @@ let meta.license = lib.licenses.mit; }; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "goose-cli"; - version = "1.0.17"; + version = "1.0.23"; src = fetchFromGitHub { owner = "block"; repo = "goose"; - tag = "v${version}"; - hash = "sha256-l/lcwTNUq2xJHh0MKhnDZjRJ/5cANbdar/Vusf38esQ="; + tag = "v${finalAttrs.version}"; + hash = "sha256-jdoopa4pbW3MSgbNmNSp47iiXZF8H2GEgyhpkV1cB4A="; }; useFetchCargoVendor = true; - cargoHash = "sha256-1xKWzgptnM1ZP0nQXILBoaKVwL2FyXpldTUIa1ITQO0="; + cargoHash = "sha256-We2v/U9pK4O7JVXyVDvHwyrujPLp9jL1m4SKcMg/Hvc="; nativeBuildInputs = [ pkg-config ]; @@ -59,14 +59,22 @@ rustPlatform.buildRustPackage rec { # need dbus-daemon "--skip=config::base::tests::test_multiple_secrets" "--skip=config::base::tests::test_secret_management" + "--skip=config::base::tests::test_concurrent_extension_writes" # Observer should be Some with both init project keys set "--skip=tracing::langfuse_layer::tests::test_create_langfuse_observer" "--skip=providers::gcpauth::tests::test_token_refresh_race_condition" - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Lazy instance has previously been poisoned "--skip=jetbrains::tests::test_capabilities" "--skip=jetbrains::tests::test_router_creation" + "--skip=logging::tests::test_log_file_name::with_session_name_without_error_capture" + "--skip=logging::tests::test_log_file_name::without_session_name" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + "--skip=providers::gcpauth::tests::test_load_from_metadata_server" + "--skip=providers::oauth::tests::test_get_workspace_endpoints" + "--skip=tracing::langfuse_layer::tests::test_batch_manager_spawn_sender" + "--skip=tracing::langfuse_layer::tests::test_batch_send_partial_failure" + "--skip=tracing::langfuse_layer::tests::test_batch_send_success" ]; passthru.updateScript = nix-update-script { }; @@ -76,7 +84,10 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/block/goose"; mainProgram = "goose"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ cloudripper ]; + maintainers = with lib.maintainers; [ + cloudripper + thardin + ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; -} +})