summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-02-11 23:58:04 -0500
committerfigsoda <figsoda@pm.me>2023-02-11 23:58:04 -0500
commit97363e459d08a40db408cc9ecd9e3776777385dd (patch)
tree8163649b643aca30a73d351d802fe1f094f90898
parentocaml-ng.ocamlPackages_4_09.ocaml: fix with GCC 12 (diff)
downloadnixpkgs-97363e459d08a40db408cc9ecd9e3776777385dd.tar.gz
cargo-binstall: 0.19.3 -> 0.20.1
Diff: https://github.com/cargo-bins/cargo-binstall/compare/v0.19.3...v0.20.1 Changelog: https://github.com/cargo-bins/cargo-binstall/releases/tag/v0.20.1
-rw-r--r--pkgs/development/tools/rust/cargo-binstall/default.nix12
-rw-r--r--pkgs/development/tools/rust/cargo-binstall/fix-features.patch22
2 files changed, 3 insertions, 31 deletions
diff --git a/pkgs/development/tools/rust/cargo-binstall/default.nix b/pkgs/development/tools/rust/cargo-binstall/default.nix
index e38a1462cd9b..5705b9039b7d 100644
--- a/pkgs/development/tools/rust/cargo-binstall/default.nix
+++ b/pkgs/development/tools/rust/cargo-binstall/default.nix
@@ -11,22 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-binstall";
- version = "0.19.3";
+ version = "0.20.1";
src = fetchFromGitHub {
owner = "cargo-bins";
repo = "cargo-binstall";
rev = "v${version}";
- hash = "sha256-MxbZlUlan58TVgcr2n5ZA+L01u90bYYqf88GU+sLmKk=";
+ hash = "sha256-wM8DawrniyJxj8Omgj+hiePa521p4hIAngfzEHFNO58=";
};
- cargoHash = "sha256-HG43UCjPCB5bEH0GYPoHsOlaJQNPRrD175SuUJ6QbEI=";
-
- patches = [
- # make it possible to disable the static feature
- # https://github.com/cargo-bins/cargo-binstall/pull/782
- ./fix-features.patch
- ];
+ cargoHash = "sha256-ZanPmdFMDGZhRHVVGt03OJWz8HnSYFdm42W6rpytu5Y=";
nativeBuildInputs = [
pkg-config
diff --git a/pkgs/development/tools/rust/cargo-binstall/fix-features.patch b/pkgs/development/tools/rust/cargo-binstall/fix-features.patch
deleted file mode 100644
index 825dda604ae3..000000000000
--- a/pkgs/development/tools/rust/cargo-binstall/fix-features.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/crates/bin/Cargo.toml
-+++ b/crates/bin/Cargo.toml
-@@ -22,7 +22,7 @@ pkg-fmt = "zip"
- pkg-fmt = "zip"
-
- [dependencies]
--binstalk = { path = "../binstalk", version = "0.7.1" }
-+binstalk = { path = "../binstalk", version = "0.7.1", default-features = false }
- binstalk-manifests = { path = "../binstalk-manifests", version = "0.2.0" }
- clap = { version = "4.1.1", features = ["derive"] }
- crates_io_api = { version = "0.8.1", default-features = false }
---- a/crates/binstalk/Cargo.toml
-+++ b/crates/binstalk/Cargo.toml
-@@ -11,7 +11,7 @@ license = "GPL-3.0"
-
- [dependencies]
- async-trait = "0.1.61"
--binstalk-downloader = { version = "0.3.2", path = "../binstalk-downloader" }
-+binstalk-downloader = { version = "0.3.2", path = "../binstalk-downloader", default-features = false }
- binstalk-types = { version = "0.2.0", path = "../binstalk-types" }
- cargo_toml = "0.14.0"
- command-group = { version = "2.0.1", features = ["with-tokio"] }