[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75096] [PATCH rust-team 5/9] gnu: rust-serde-0.9: Use snippet.
From: |
Herman Rimm |
Subject: |
[bug#75096] [PATCH rust-team 5/9] gnu: rust-serde-0.9: Use snippet. |
Date: |
Wed, 25 Dec 2024 20:49:51 +0100 |
* 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
- [bug#75096] [PATCH rust-team 1/9] gnu: rust-sha1-0.2: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 2/9] gnu: rust-itertools-0.9: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 3/9] gnu: rust-openssl-0.7: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 4/9] gnu: rust-openssl-sys-extras-0.7: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 5/9] gnu: rust-serde-0.9: Use snippet.,
Herman Rimm <=
- [bug#75096] [PATCH rust-team 6/9] gnu: rust-serde-derive-0.9: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 7/9] gnu: rust-serde-test-0.9: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 8/9] gnu: rust-serde-test-0.8: Use snippet., Herman Rimm, 2024/12/25
- [bug#75096] [PATCH rust-team 9/9] gnu: rust-synstructure-0.12: Use snippet., Herman Rimm, 2024/12/25
- bug#75096: [PATCH rust-team 1/9] gnu: rust-sha1-0.2: Use snippet., Efraim Flashner, 2024/12/26