Unverified Commit 4b1a1efe authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #220915 from figsoda/binstall

cargo-binstall: 0.20.1 -> 0.21.0
parents 6bfb3ffb 6521b295
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -11,16 +11,16 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-binstall";
  version = "0.20.1";
  version = "0.21.0";

  src = fetchFromGitHub {
    owner = "cargo-bins";
    repo = "cargo-binstall";
    rev = "v${version}";
    hash = "sha256-wM8DawrniyJxj8Omgj+hiePa521p4hIAngfzEHFNO58=";
    hash = "sha256-btpXmtnsnZy7ai+WlWtgLjwbHqQvIphNM7aqMmA5Wjs=";
  };

  cargoHash = "sha256-ZanPmdFMDGZhRHVVGt03OJWz8HnSYFdm42W6rpytu5Y=";
  cargoHash = "sha256-bfdyLXfasPeUAxiA7tFV1vc4tVnTO84GFOdBWjTx/4s=";

  nativeBuildInputs = [
    pkg-config
@@ -43,6 +43,13 @@ rustPlatform.buildRustPackage rec {
    "zstd-thin"
  ];

  checkFlags = [
    # requires internet access
    "--skip=download::test::test_and_extract"
    "--skip=gh_api_client::test::test_gh_api_client_cargo_binstall_no_such_release"
    "--skip=gh_api_client::test::test_gh_api_client_cargo_binstall_v0_20_1"
  ];

  # remove cargo config so it can find the linker on aarch64-unknown-linux-gnu
  postPatch = ''
    rm .cargo/config