From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sCscDa7cWWEOAQEAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 18:39:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YDi+CK7cWWGcZgAAbx9fmQ (envelope-from ) for ; Sun, 03 Oct 2021 16:39:10 +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 A668C111D0 for ; Sun, 3 Oct 2021 18:39:09 +0200 (CEST) Received: from localhost ([::1]:50208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mX4W4-0006lB-I4 for larch@yhetil.org; Sun, 03 Oct 2021 12:39:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX4Vy-0006jd-VX for guix-patches@gnu.org; Sun, 03 Oct 2021 12:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mX4Vy-0004dE-Na for guix-patches@gnu.org; Sun, 03 Oct 2021 12:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mX4Vy-0004N3-Gf for guix-patches@gnu.org; Sun, 03 Oct 2021 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50995] [PATCH] gnu: Add rust-sha3. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Oct 2021 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50995@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.163327910716750 (code B ref -1); Sun, 03 Oct 2021 16:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2021 16:38:27 +0000 Received: from localhost ([127.0.0.1]:34811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mX4VP-0004M5-Aj for submit@debbugs.gnu.org; Sun, 03 Oct 2021 12:38:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:52942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mX4VM-0004Lx-T4 for submit@debbugs.gnu.org; Sun, 03 Oct 2021 12:38:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX4VM-0006F4-FU for guix-patches@gnu.org; Sun, 03 Oct 2021 12:38:24 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:14813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX4VK-00044D-1Q for guix-patches@gnu.org; Sun, 03 Oct 2021 12:38:24 -0400 Date: Sun, 03 Oct 2021 16:38:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633279098; bh=KkMWdV7FWv2Tb5dXHxRx/kkHda+LIrtRUG/P/e103/E=; h=Date:To:From:Reply-To:Subject:From; b=ocM8prGKO9fMDXw7K34YZGfgv+mbqST3gpsUlJwtJismEyXrv8oMkdyE+XA2tw84y zO/UuqRE4F05hQTspqL/FsP796drOKcJ8tuDjWn+VpuT9sTOcy8wlv1nJV63FIJetQ CLfUsrP03ninee7HsOE3u2I6NJRvzW5VYXCjlIKc= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633279149; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KkMWdV7FWv2Tb5dXHxRx/kkHda+LIrtRUG/P/e103/E=; b=iTzL5C9fC4JFahfCQTfn+bqdJs496HJTLvCHq+S3AB6Hj3quoOF+Nf337NsfuihI6Q2DM7 MpcKmGPjuhofrF7wt5r/IUbsKNvc1d6XjgaJKOhqDt9TyvGzG4D2S3/h601MiWLkpnv8T4 2N5jVsI/+SytVmTe9sEMPOlz86u5hpnzAVMeOG+6Dy57uMNe1tmipMquJ8BQM7HeU2u5L3 DwHeFJMKgLrfVEoiZvU4S8KNE5wik39bKL0dzyluhiShYoBBK0/MruYOyIwZ4B5ZN4Cehy bdwsAHh57Ey3ay0FFIvF5ximTqT6+lok3Rer5txFxg+KAmZNi6SahyLKb8AkCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633279149; a=rsa-sha256; cv=none; b=OmQ9HMI8iSvBN8mleYqIhGDfW4gT0CdlcDoEAzr0WzaZYPcTeisavvogky0qJsu6vOsfQn D9p8GdSEx/xgsrPEwlgSvzXHQz8GSOC/rS1s55nVSqd8sGhPOxQtVXAUmeqqXDhM6L8yBy 2gZOO7G/kxK+NXU0nx10dN7dQdDQiMyq6ViJ/zPArSOoLW2dRWid+W48h9rxbvoEqWdh+5 XD8quNVsgMYWgi0mDrOu1hpSnOWkimrALJMSmCyKrx9gMd21KbfPbnnMrm5eF9dLyOw2iM ddQnSoXKlEi79OOkGpFJJHYmmrmlPJfYAPkGym8/nPxprAbNDM5VT7EDTBj1Jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=ocM8prGK; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=ocM8prGK; dmarc=pass (policy=none) header.from=gnu.org; 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: A668C111D0 X-Spam-Score: -3.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: dnDN87KDknFe * 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