[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/64: gnu: rust-hashbrown-0.12: Patch Cargo.toml.
From: |
guix-commits |
Subject: |
38/64: gnu: rust-hashbrown-0.12: Patch Cargo.toml. |
Date: |
Sun, 4 Sep 2022 18:17:32 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 7c4546d591cac73a34cee5a519222904315731a9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Aug 30 18:20:44 2022 +0200
gnu: rust-hashbrown-0.12: Patch Cargo.toml.
This is a follow-up to commit d7a4ab2cd50d5398d90117d6afcfccca5a158b9b.
* gnu/packages/crates-io.scm (rust-hashbrown-0.12)[source]: Add snippet to
require the "edition2021" cargo feature to avoid a failure to parse the
file.
---
gnu/packages/crates-io.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8785d6a7d3..a4c8bc5104 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26792,7 +26792,14 @@ already-hashed or hash-like data.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))))
+ "1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Without this line users of hashbrown would be unable to
+ ;; parse the contents of the Cargo.toml.
+ '(substitute* "Cargo.toml"
+ (("\\[package\\]" m)
+ (string-append "cargo-features = [\"edition2021\"]\n"
m))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- 23/64: gnu: Add rust-gimli-0.26., (continued)
- 23/64: gnu: Add rust-gimli-0.26., guix-commits, 2022/09/04
- 22/64: gnu: rust-memmap2-0.5: Update to 0.5.5., guix-commits, 2022/09/04
- 25/64: gnu: Add rust-findshlibs-0.10., guix-commits, 2022/09/04
- 18/64: gnu: Add rust-object-0.27., guix-commits, 2022/09/04
- 24/64: gnu: rust-gimli-0.23: Inherit from rust-gimli-0.26., guix-commits, 2022/09/04
- 27/64: gnu: rust-backtrace-0.3: Update to 0.3.66., guix-commits, 2022/09/04
- 31/64: gnu: rust-bindgen-0.57: Fix build., guix-commits, 2022/09/04
- 34/64: gnu: Add rust-cargo-0.51., guix-commits, 2022/09/04
- 35/64: gnu: Add rust-openssl-macros-0.1., guix-commits, 2022/09/04
- 36/64: gnu: rust-openssl-0.10: Update to 0.10.41., guix-commits, 2022/09/04
- 38/64: gnu: rust-hashbrown-0.12: Patch Cargo.toml.,
guix-commits <=
- 39/64: gnu: rav1e: Patch Cargo.toml., guix-commits, 2022/09/04
- 43/64: gnu: Add rust-windows-i686-gnu-0.32., guix-commits, 2022/09/04
- 15/64: gnu: rust-scroll-0.10: Update to 0.10.2., guix-commits, 2022/09/04
- 17/64: gnu: rust-object-0.28: Inherit from rust-object-0.29., guix-commits, 2022/09/04
- 26/64: gnu: Add rust-addr2line-0.17., guix-commits, 2022/09/04
- 28/64: gnu: Add rust-parking-lot-core-0.9., guix-commits, 2022/09/04
- 29/64: gnu: Add rust-critical-section-1., guix-commits, 2022/09/04
- 32/64: gnu: Add rust-cbindgen-0.17., guix-commits, 2022/09/04
- 30/64: gnu: Add rust-atomic-polyfill-1., guix-commits, 2022/09/04
- 33/64: gnu: Add rust-crates-io-0.31., guix-commits, 2022/09/04