From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 75206@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75206] [PATCH rust-team 08/10] gnu: rust-uint-0.9: Use snippet.
Date: Mon, 30 Dec 2024 18:57:43 +0100 [thread overview]
Message-ID: <82e1489bacda8a48798cf1f277b857e4367bc870.1735580850.git.herman@rimm.ee> (raw)
In-Reply-To: <87c8753e9ba06cb3bbab6e603028c63c7be834ed.1735580850.git.herman@rimm.ee>
* gnu/packages/crates-io.scm (rust-uint-0.9): Add snippet.
[arguments]: Remove adjust-cargo-toml phase.
Change-Id: I9ff08abe419e860e4cb77b94b401466e2e113cc3
---
gnu/packages/crates-io.scm | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa5ce6f5087..bb89ad6e2c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90529,12 +90529,15 @@ (define-public rust-uint-0.9
(name "rust-uint")
(version "0.9.5")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "uint" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0ljb2q0waadsr56w6j5wwchwibby8bbsf09wnv54zc2k5jx4pxkn"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uint" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ljb2q0waadsr56w6j5wwchwibby8bbsf09wnv54zc2k5jx4pxkn"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "Cargo.toml"
+ (("integer") "default")))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -90547,13 +90550,7 @@ (define-public rust-uint-0.9
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4)
("rust-num-bigint" ,rust-num-bigint-0.4)
- ("rust-rug" ,rust-rug-1))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'adjust-cargo-toml
- (lambda _
- (substitute* "Cargo.toml"
- (("integer") "default")))))))
+ ("rust-rug" ,rust-rug-1))))
(inputs
(list gmp mpc mpfr))
(home-page "https://parity.io")
--
2.45.2
next prev parent reply other threads:[~2024-12-30 18:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-30 17:52 [bug#75206] [PATCH rust-team 01/10] gnu: rust-structopt-0.3: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 02/10] gnu: rust-structopt-0.3: Build Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 03/10] gnu: rust-syn-2: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 04/10] gnu: rust-syn-1: Inherit rust-syn-2 Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 05/10] gnu: rust-syn-0.11: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 06/10] gnu: rust-synom-0.11: " Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 07/10] gnu: rust-synom-0.11: Fix build Herman Rimm via Guix-patches via
2024-12-30 17:57 ` Herman Rimm via Guix-patches via [this message]
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 09/10] gnu: rust-rustls-ffi-0.8: Use snippet Herman Rimm via Guix-patches via
2024-12-30 17:57 ` [bug#75206] [PATCH rust-team 10/10] gnu: rust-user32-sys-0.2: " Herman Rimm via Guix-patches via
2025-01-20 2:48 ` [bug#75206] [PATCH rust-team v2 0/9] Slight updates Aaron Covrig via Guix-patches via
2025-01-20 2:48 ` [bug#75206] [PATCH rust-team v2 1/9] gnu: rust-structopt-0.3: Use snippet Aaron Covrig via Guix-patches via
2025-01-20 2:48 ` [bug#75206] [PATCH rust-team v2 2/9] gnu: rust-structopt-0.3: Build Aaron Covrig via Guix-patches via
2025-01-20 2:48 ` [bug#75206] [PATCH rust-team v2 3/9] gnu: rust-syn-2: Use snippet Aaron Covrig via Guix-patches via
2025-01-20 2:49 ` [bug#75206] [PATCH rust-team v2 4/9] gnu: rust-syn-1: Inherit rust-syn-2 Aaron Covrig via Guix-patches via
2025-01-20 2:49 ` [bug#75206] [PATCH rust-team v2 5/9] gnu: rust-syn-0.11: Use snippet Aaron Covrig via Guix-patches via
2025-01-20 2:49 ` [bug#75206] [PATCH rust-team v2 6/9] gnu: rust-synom-0.11: " Aaron Covrig via Guix-patches via
2025-01-20 2:49 ` [bug#75206] [PATCH rust-team v2 7/9] gnu: rust-synom-0.11: Fix build Aaron Covrig via Guix-patches via
2025-01-20 2:49 ` [bug#75206] [PATCH rust-team v2 8/9] gnu: rust-uint-0.9: Use snippet Aaron Covrig via Guix-patches via
2025-01-20 2:49 ` [bug#75206] [PATCH rust-team v2 9/9] gnu: rust-user32-sys-0.2: " Aaron Covrig via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82e1489bacda8a48798cf1f277b857e4367bc870.1735580850.git.herman@rimm.ee \
--to=guix-patches@gnu.org \
--cc=75206@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=herman@rimm.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).