Merge pull request #215920 from figsoda/binstall

cargo-binstall: 0.19.3 -> 0.20.1

authored by

Nick Cao and committed by
GitHub
c7ef732e b12fc714

+3 -31
+3 -9
pkgs/development/tools/rust/cargo-binstall/default.nix
··· 11 11 12 12 rustPlatform.buildRustPackage rec { 13 13 pname = "cargo-binstall"; 14 - version = "0.19.3"; 14 + version = "0.20.1"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "cargo-bins"; 18 18 repo = "cargo-binstall"; 19 19 rev = "v${version}"; 20 - hash = "sha256-MxbZlUlan58TVgcr2n5ZA+L01u90bYYqf88GU+sLmKk="; 20 + hash = "sha256-wM8DawrniyJxj8Omgj+hiePa521p4hIAngfzEHFNO58="; 21 21 }; 22 22 23 - cargoHash = "sha256-HG43UCjPCB5bEH0GYPoHsOlaJQNPRrD175SuUJ6QbEI="; 24 - 25 - patches = [ 26 - # make it possible to disable the static feature 27 - # https://github.com/cargo-bins/cargo-binstall/pull/782 28 - ./fix-features.patch 29 - ]; 23 + cargoHash = "sha256-ZanPmdFMDGZhRHVVGt03OJWz8HnSYFdm42W6rpytu5Y="; 30 24 31 25 nativeBuildInputs = [ 32 26 pkg-config
-22
pkgs/development/tools/rust/cargo-binstall/fix-features.patch
··· 1 - --- a/crates/bin/Cargo.toml 2 - +++ b/crates/bin/Cargo.toml 3 - @@ -22,7 +22,7 @@ pkg-fmt = "zip" 4 - pkg-fmt = "zip" 5 - 6 - [dependencies] 7 - -binstalk = { path = "../binstalk", version = "0.7.1" } 8 - +binstalk = { path = "../binstalk", version = "0.7.1", default-features = false } 9 - binstalk-manifests = { path = "../binstalk-manifests", version = "0.2.0" } 10 - clap = { version = "4.1.1", features = ["derive"] } 11 - crates_io_api = { version = "0.8.1", default-features = false } 12 - --- a/crates/binstalk/Cargo.toml 13 - +++ b/crates/binstalk/Cargo.toml 14 - @@ -11,7 +11,7 @@ license = "GPL-3.0" 15 - 16 - [dependencies] 17 - async-trait = "0.1.61" 18 - -binstalk-downloader = { version = "0.3.2", path = "../binstalk-downloader" } 19 - +binstalk-downloader = { version = "0.3.2", path = "../binstalk-downloader", default-features = false } 20 - binstalk-types = { version = "0.2.0", path = "../binstalk-types" } 21 - cargo_toml = "0.14.0" 22 - command-group = { version = "2.0.1", features = ["with-tokio"] }