GNU bug report logs -
#75096
[PATCH rust-team 1/9] gnu: rust-sha1-0.2: Use snippet.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Wed, 25 Dec 2024 19:50:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 75096 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-serde-0.9): Add snippet.
[phases]: Remove fix-cargo-toml phase.
Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea
---
gnu/packages/crates-io.scm | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ccced67305..672846f54c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75664,20 +75664,14 @@ (define-public rust-serde-0.9
(origin
(method url-fetch)
(uri (crate-uri "serde" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil"))))
+ (base32 "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "Cargo.toml"
+ ((", path =.*}") "}")))))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-cargo-toml
- (lambda _
- (substitute* "Cargo.toml"
- ((", path =.*}") "}"))
- #t)))
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-serde-derive" ,rust-serde-derive-0.9))
#:cargo-development-inputs
(("rust-serde-derive" ,rust-serde-derive-0.9))))))
--
2.45.2
This bug report was last modified 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.