Unverified Commit 5bef86d8 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

goose-cli: 1.0.24 -> 1.0.27 (#416517)

parents ef9d1ea7 c2ddfc19
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -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"