Unverified Commit 675d68c0 authored by Gergő Gutyina's avatar Gergő Gutyina Committed by GitHub
Browse files

goose-cli: 1.13.1 -> 1.16.1 (#469716)

parents 1884f539 a0e278d9
Loading
Loading
Loading
Loading
+19 −4
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  xorg,
  pkg-config,
  protobuf,
  openssl,
  writableTmpDirAsHomeHook,
  nix-update-script,
  llvmPackages,
@@ -27,23 +28,34 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "goose-cli";
  version = "1.13.1";
  version = "1.16.1";

  src = fetchFromGitHub {
    owner = "block";
    repo = "goose";
    tag = "v${finalAttrs.version}";
    hash = "sha256-61MFtAhz7yq2wStNWDIlBo+OubBVor0NnpOAX8nQ8K0=";
    hash = "sha256-lMlpgsLkPQsvc5Ad8sRrwO27ytb5hpF3doUR18DUrvw=";
  };

  cargoHash = "sha256-YR/QUEE+EbwytiL0xkCr/EYE0O2/B/KmuLaF6TA7N6I=";
  cargoHash = "sha256-WPrCwvGVOuTKXEHLR0WRV+YXr4r10fQf9t/Sfs/2bNI=";

  cargoBuildFlags = [
    "--bin"
    "goose"
    "--bin"
    "goosed"
  ];

  nativeBuildInputs = [
    pkg-config
    protobuf
  ];

  buildInputs = [ dbus ] ++ lib.optionals stdenv.hostPlatform.isLinux [ xorg.libxcb ];
  buildInputs = [
    dbus
    openssl
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [ xorg.libxcb ];

  env.LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";

@@ -83,6 +95,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
    "--skip=transport::streamable_http::tests::test_handle_outgoing_message_successful_request"
    "--skip=routes::audio::tests::test_transcribe_endpoint_requires_auth"
    "--skip=routes::config_management::tests::test_get_provider_models_openai_configured"
    # tunnel tests that need external connectivity to Cloudflare
    "--skip=tunnel::lapstone_test::test_tunnel_end_to_end"
    "--skip=tunnel::lapstone_test::test_tunnel_post_request"
    # integration tests that need network access
    "--skip=test_replayed_session::vec_uvx_mcp_server_fetch_vec_calltoolrequestparam_name_fetch_into_arguments_some_object_url_https_example_com_vec_expects"
    "--skip=test_replayed_session::vec_github_mcp_server_stdio_vec_calltoolrequestparam_name_get_file_contents_into_arguments_some_object_owner_block_repo_goose_path_readme_md_sha_ab62b863c1666232a67048b6c4e10007a2a5b83c_vec_github_personal_access_token_expects"