[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: rust-nalgebra-macros-0.1: Move code changes to snippet.
From: |
guix-commits |
Subject: |
06/07: gnu: rust-nalgebra-macros-0.1: Move code changes to snippet. |
Date: |
Wed, 11 May 2022 05:21:40 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit d47b7bbfc818e16ab9899756f3a27f89834d4021
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed May 11 11:26:37 2022 +0300
gnu: rust-nalgebra-macros-0.1: Move code changes to snippet.
* gnu/packages/crates-io.scm (rust-nalgebra-macros-0.1)[arguments]: Move
code relaxing version requirements ...
[source]: ... to a snippet.
---
gnu/packages/crates-io.scm | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bfd8e42b7d..c595e920aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35915,18 +35915,16 @@ statically-sized or dynamically-sized matrices.")
(uri (crate-uri "nalgebra-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "063jvvvlwmzzxfr4wyiil2cn1yqj3arvghwsr2nk4ilv2jwc1z01"))))
+ (base32 "063jvvvlwmzzxfr4wyiil2cn1yqj3arvghwsr2nk4ilv2jwc1z01"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ ;; The resolver feature is not supported by our versions of Cargo.
+ (("resolver = \"2\".*") ""))))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'patch-Cargo.toml
- (lambda _
- (substitute* '("Cargo.toml"
-
"guix-vendor/rust-nalgebra-macros-0.1.0.tar.gz/Cargo.toml")
- ;; The resolver feature is not supported by this version of
Cargo.
- (("resolver = \"2\".*") "")))))
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- branch master updated (aaa981f7c5 -> 427dbce3a8), guix-commits, 2022/05/11
- 01/07: gnu: rust-parking-lot-core-0.8: Move code changes to snippet., guix-commits, 2022/05/11
- 06/07: gnu: rust-nalgebra-macros-0.1: Move code changes to snippet.,
guix-commits <=
- 02/07: gnu: rust-proc-macro-error-1: Move code changes to snippet., guix-commits, 2022/05/11
- 03/07: gnu: rust-pyo3-0.15: Adjust version dependency relaxing code., guix-commits, 2022/05/11
- 04/07: gnu: rust-average-0.13: Move code changes to snippet., guix-commits, 2022/05/11
- 07/07: gnu: rust-rand-distr-0.4: Move code changes to snippet., guix-commits, 2022/05/11
- 05/07: gnu: rust-nalgebra-0.26: Move code changes to snippet., guix-commits, 2022/05/11