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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
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.