unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75096] [PATCH rust-team 1/9] gnu: rust-sha1-0.2: Use snippet.
@ 2024-12-25 19:48 Herman Rimm via Guix-patches via
  2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 2/9] gnu: rust-itertools-0.9: " Herman Rimm via Guix-patches via
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Herman Rimm via Guix-patches via @ 2024-12-25 19:48 UTC (permalink / raw)
  To: 75096; +Cc: Efraim Flashner

* gnu/packages/crates-crypto.scm (rust-sha-0.2): Add snippet.
[phases]: Remove 'fix-cargo-toml phase.

Change-Id: Iaaa129e438a8798f9a8f8d418bb3c9302c7c6fcb
---
 gnu/packages/crates-crypto.scm | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index fef6ba8d44..2b4f81e023 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -5714,23 +5714,17 @@ (define-public rust-sha1-0.2
      (origin
        (method url-fetch)
        (uri (crate-uri "sha1" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c"))))
+        (base32 "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c"))
+       (modules '((guix build utils)))
+       (snippet #~(substitute* "Cargo.toml"
+                    ((", path =.*}") "}")))))
     (arguments
      `(#:tests? #f  ; Tests require openssl-1.0
        #:cargo-development-inputs
        (("rust-openssl" ,rust-openssl-0.7)
-        ("rust-rand" ,rust-rand-0.3))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-cargo-toml
-           (lambda _
-             (substitute* "Cargo.toml"
-               ((", path =.*}") "}"))
-             #t)))))))
+        ("rust-rand" ,rust-rand-0.3))))))
 
 (define-public rust-sha1-asm-0.5
   (package

base-commit: 893599007e9304ea9785ebb839946cc5979ecd45
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-12-26 20:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-25 19:48 [bug#75096] [PATCH rust-team 1/9] gnu: rust-sha1-0.2: Use snippet Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 2/9] gnu: rust-itertools-0.9: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 3/9] gnu: rust-openssl-0.7: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 4/9] gnu: rust-openssl-sys-extras-0.7: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 5/9] gnu: rust-serde-0.9: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 6/9] gnu: rust-serde-derive-0.9: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 7/9] gnu: rust-serde-test-0.9: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 8/9] gnu: rust-serde-test-0.8: " Herman Rimm via Guix-patches via
2024-12-25 19:49 ` [bug#75096] [PATCH rust-team 9/9] gnu: rust-synstructure-0.12: " Herman Rimm via Guix-patches via
2024-12-26 20:51 ` bug#75096: [PATCH rust-team 1/9] gnu: rust-sha1-0.2: " Efraim Flashner

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).