figsoda 2023-06-28 10:11:47 -04:00 committed by GitHub
parent 16c5fd4574
commit 05a3064ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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";