GNU bug report logs - #50995
[PATCH] gnu: Add rust-sha3.

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sun, 3 Oct 2021 16:39: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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#50995: closed ([PATCH] gnu: Add rust-sha3.)
Date: Mon, 04 Oct 2021 08:19:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 4 Oct 2021 11:16:10 +0300
with message-id <YVq4St/7GO06W8B6 <at> 3900XT>
and subject line Re: [bug#50995] [PATCH] gnu: Add rust-sha3.
has caused the debbugs.gnu.org bug report #50995,
regarding [PATCH] gnu: Add rust-sha3.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
50995: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50995
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: phodina <phodina <at> protonmail.com>
To: phodina via Guix-patches via <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add rust-sha3.
Date: Sun, 03 Oct 2021 16:38:16 +0000
* gnu/packages/crates-io.scm (rust-sha3): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48a05fb8be..d6cdc8a7a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44713,6 +44713,33 @@ functions core functionality.")
        (("rust-gcc" ,rust-gcc-0.3)
         ("rust-generic-array" ,rust-generic-array-0.8))))))

+(define-public rust-sha3-0.9
+  (package
+    (name "rust-sha3")
+    (version "0.9.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "sha3" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-block-buffer" ,rust-block-buffer-0.9)
+         ("rust-digest" ,rust-digest-0.9)
+         ("rust-keccak" ,rust-keccak-0.1)
+         ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+        #:cargo-development-inputs
+        (("rust-digest" ,rust-digest-0.9)
+         ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page "https://github.com/RustCrypto/hashes")
+    (synopsis "SHA-3 (Keccak) hash function")
+    (description "This package provides a pure Rust implementation of the SHA-3
+(Keccak) hash function.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-shader-version-0.6
   (package
     (name "rust-shader-version")
--
2.32.0


[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: phodina <phodina <at> protonmail.com>
Cc: 50995-done <at> debbugs.gnu.org
Subject: Re: [bug#50995] [PATCH] gnu: Add rust-sha3.
Date: Mon, 4 Oct 2021 11:16:10 +0300
[Message part 4 (text/plain, inline)]
Thanks. Patch pushed.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.