From 05a3064ec6b91313f4bfdbcc2e370be49039ea8a Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 28 Jun 2023 10:11:47 -0400 Subject: [PATCH] cargo-binstall: 0.23.1 -> 1.0.0 (#240128) Diff: https://github.com/cargo-bins/cargo-binstall/compare/v0.23.1...v1.0.0 Changelog: https://github.com/cargo-bins/cargo-binstall/releases/tag/v1.0.0 --- .../tools/rust/cargo-binstall/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-binstall/default.nix b/pkgs/development/tools/rust/cargo-binstall/default.nix index dabfff611afb..ec06bdc48bcc 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.23.1"; + version = "1.0.0"; src = fetchFromGitHub { owner = "cargo-bins"; repo = "cargo-binstall"; rev = "v${version}"; - hash = "sha256-Dpo/J6FTW95rODWeIqD+8YnN4dt5yhLPxoezA1CTM4A="; + hash = "sha256-43AXxTuHwaNLDTDmLps/HbRvQFWyUgLQhTrxHtQCk3k="; }; - cargoHash = "sha256-Nc/kdrLsAooM41pwlkZ3zWsLvFlnxHG/2ZQhPsEyPkI="; + cargoHash = "sha256-F26wjIsBjQ+z+sHGzE7PdYOZi7XwStlOXfbK/lpepDY="; nativeBuildInputs = [ pkg-config @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { buildNoDefaultFeatures = true; buildFeatures = [ "fancy-no-backtrace" + "git" "pkg-config" "rustls" "trust-dns" @@ -53,11 +54,6 @@ rustPlatform.buildRustPackage rec { "--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 - ''; - meta = with lib; { description = "A tool for installing rust binaries as an alternative to building from source"; homepage = "https://github.com/cargo-bins/cargo-binstall";