unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 45276@debbugs.gnu.org
Subject: [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2.
Date: Wed, 16 Dec 2020 21:36:14 +0100	[thread overview]
Message-ID: <ca4c3bdc28d8a131991b0bbfb838a23de84dbe9e.1608149416.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <cover.1608149415.git.h.goebel@crazy-compilers.com>

* gnu/packages/crates-io.scm (rust-sha1collisiondetection-0.2): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d5b805446c..9590330036 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27100,6 +27100,36 @@ functionality and without weak references.")
      "Assembly implementation of SHA-1 compression function.")
     (license license:expat)))
 
+(define-public rust-sha1collisiondetection-0.2
+  (package
+    (name "rust-sha1collisiondetection")
+    (version "0.2.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "sha1collisiondetection" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+        (("rust-digest" ,rust-digest-0.9)
+         ("rust-generic-array" ,rust-generic-array-0.14)
+         ("rust-libc" ,rust-libc-0.2)
+         ("rust-sha-1" ,rust-sha-1-0.9)
+         ("rust-structopt" ,rust-structopt-0.3))))
+    (home-page "https://docs.rs/sha1collisiondetection")
+    (synopsis "SHA-1 hash function with collision detection and mitigation")
+    (description
+      "This package implementation of the SHA-1 cryptographic hash algorithm.
+
+This is a port of Marc Stevens' sha1collisiondetection algorithm to Rust.  The
+code is translated from C to Rust using c2rust.")
+    (license license:expat)))
+
 (define-public rust-sha2-0.9
   (package
     (name "rust-sha2")
-- 
2.21.3





  parent reply	other threads:[~2020-12-16 20:37 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 01/26] gnu: Add rust-cipher-0.2 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 02/26] gnu: Add rust-cmac-0.5 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 03/26] gnu: Add rust-ctr-0.6 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 04/26] gnu: Add rust-dbl-0.3 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 05/26] gnu: Add rust-eax-0.3 Hartmut Goebel
2020-12-16 20:36 ` Hartmut Goebel [this message]
2020-12-16 20:36 ` [bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 08/26] gnu: Add rust-pin-utils-0.1 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 10/26] gnu: Replace rust-capnp-0.10 by rust-capnp-0.13 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 11/26] gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 12/26] gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 13/26] gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 14/26] gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 15/26] gnu: rust-proc-macro-hack-0.5: Update to 0.5.19 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 17/26] gnu: rust-futures-util-0.3: Update to 0.3.8 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 18/26] gnu: rust-futures-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 19/26] gnu: rust-futures-channel-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 20/26] gnu: rust-futures-core-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 21/26] gnu: rust-futures-executor-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 22/26] gnu: rust-futures-io-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 23/26] gnu: rust-futures-macro-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 24/26] gnu: rust-futures-sink-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 25/26] gnu: rust-futures-task-0.3: " Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 26/26] gnu: sequoia: Update to 1.0.0 Hartmut Goebel
2020-12-17 15:01 ` [bug#45276] [PATCH 00/26] Update sequoia-opengpg " Nicolas Goaziou
2020-12-17 16:05   ` Hartmut Goebel
2020-12-17 20:08     ` Efraim Flashner
2021-01-06 18:05       ` Hartmut Goebel
2021-01-06 19:37         ` Leo Famulari
     [not found] ` <handler.45276.B.160815072411765.ack@debbugs.gnu.org>
2021-01-08  9:35   ` bug#45276: Acknowledgement ([PATCH 00/26] Update sequoia-opengpg to 1.0.0) Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca4c3bdc28d8a131991b0bbfb838a23de84dbe9e.1608149416.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=45276@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).