From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0KPSLBFw2l/OGgAA0tVLHw (envelope-from ) for ; Wed, 16 Dec 2020 20:37:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UAMwJxFw2l9OBAAAB5/wlQ (envelope-from ) for ; Wed, 16 Dec 2020 20:37:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74A479402A8 for ; Wed, 16 Dec 2020 20:37:37 +0000 (UTC) Received: from localhost ([::1]:53022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpdYG-00038j-Av for larch@yhetil.org; Wed, 16 Dec 2020 15:37:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpdXn-00033j-RK for guix-patches@gnu.org; Wed, 16 Dec 2020 15:37:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpdXn-0002Lo-Ha for guix-patches@gnu.org; Wed, 16 Dec 2020 15:37:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpdXn-0003F7-Ei for guix-patches@gnu.org; Wed, 16 Dec 2020 15:37:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Dec 2020 20:37:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45276 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45276@debbugs.gnu.org X-Debbugs-Original-To: 45276@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 45276-submit@debbugs.gnu.org id=B45276.160815102412404 (code B ref 45276); Wed, 16 Dec 2020 20:37:07 +0000 Received: (at 45276) by debbugs.gnu.org; 16 Dec 2020 20:37:04 +0000 Received: from localhost ([127.0.0.1]:33823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpdXj-0003Do-VW for submit@debbugs.gnu.org; Wed, 16 Dec 2020 15:37:04 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:46535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpdXd-0003Cm-6R for 45276@debbugs.gnu.org; Wed, 16 Dec 2020 15:36:57 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Cx6P44rkGz1qs0j; Wed, 16 Dec 2020 21:36:56 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Cx6P44dj7z1rbmD; Wed, 16 Dec 2020 21:36:56 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id sHxe7Up0pyEJ; Wed, 16 Dec 2020 21:36:55 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-48-30.dynamic.mnet-online.de [188.174.48.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 16 Dec 2020 21:36:55 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id A1158605D9; Wed, 16 Dec 2020 21:40:21 +0100 (CET) From: Hartmut Goebel Date: Wed, 16 Dec 2020 21:36:14 +0100 Message-Id: X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.69 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 74A479402A8 X-Spam-Score: 2.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: WQC0i5EvkS+N * 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