GNU bug report logs -
#75206
[PATCH rust-team 01/10] gnu: rust-structopt-0.3: Use snippet.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Mon, 30 Dec 2024 17:54:02 UTC
Severity: normal
Tags: patch
Done: Steve George <steve <at> futurile.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/crates-io.scm (rust-synom-0.11): Add snippet.
[arguments]: Remove fixup-cargo-toml phase.
Change-Id: I2920d16a2daad7ccae15320bf1257e5e8d2482fe
---
gnu/packages/crates-io.scm | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 259ae00034e..5a573642353 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80946,21 +80946,15 @@ (define-public rust-synom-0.11
(origin
(method url-fetch)
(uri (crate-uri "synom" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1dj536sh5xxhan2h0znxhv0sl6sb7lvzmsmrc3nvl3h1v5p0d4x3"))))
+ (base32 "1dj536sh5xxhan2h0znxhv0sl6sb7lvzmsmrc3nvl3h1v5p0d4x3"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "Cargo.toml"
+ (("^path =.*") "")))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; doc tests fail
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'fixup-cargo-toml
- (lambda _
- (substitute* "Cargo.toml"
- (("^path =.*") ""))
- #t)))
#:cargo-inputs
(("rust-unicode-xid" ,rust-unicode-xid-0.0.4))
#:cargo-development-inputs
--
2.45.2
This bug report was last modified 96 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.