figsoda 2023-03-22 13:04:44 -04:00
parent 635998af84
commit eeae68d491

View File

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-binstall"; pname = "cargo-binstall";
version = "0.21.3"; version = "0.22.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cargo-bins"; owner = "cargo-bins";
repo = "cargo-binstall"; repo = "cargo-binstall";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-K4NerJSW3ckXMFFnFCMXIqMeevE3Xzr/Wsz9nloolBI="; hash = "sha256-jY5mIbrcX2B0D6ezi1k0mcRAmrSPIoebJFHn3lZ2t9w=";
}; };
cargoHash = "sha256-YSKnfhSZ885evtEK40QTt90RwtH03aO/aJ6A/DddoVU="; cargoHash = "sha256-+O/+zsiG0wyNKp/2TP5I8EPMf6YPT8VtCD4BXI76J7Q=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -43,6 +43,9 @@ rustPlatform.buildRustPackage rec {
"zstd-thin" "zstd-thin"
]; ];
cargoBuildFlags = [ "-p" "cargo-binstall" ];
cargoTestFlags = [ "-p" "cargo-binstall" ];
checkFlags = [ checkFlags = [
# requires internet access # requires internet access
"--skip=download::test::test_and_extract" "--skip=download::test::test_and_extract"