From 6521b295b13c425d90d89cdb55c40063483ff40c Mon Sep 17 00:00:00 2001 From: figsoda Date: Sun, 12 Mar 2023 19:52:50 -0400 Subject: [PATCH] cargo-binstall: 0.20.1 -> 0.21.0 Diff: https://github.com/cargo-bins/cargo-binstall/compare/v0.20.1...v0.21.0 Changelog: https://github.com/cargo-bins/cargo-binstall/releases/tag/v0.21.0 --- .../tools/rust/cargo-binstall/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-binstall/default.nix b/pkgs/development/tools/rust/cargo-binstall/default.nix index 5705b9039b7d..6bf0b54a3328 100644 --- a/pkgs/development/tools/rust/cargo-binstall/default.nix +++ b/pkgs/development/tools/rust/cargo-binstall/default.nix @@ -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