From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oNg5JUV65WF2NgEAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 15:16:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IMycIUV65WG+6QAAauVa8A (envelope-from ) for ; Mon, 17 Jan 2022 15:16:37 +0100 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 3805B3CB52 for ; Mon, 17 Jan 2022 15:16:34 +0100 (CET) Received: from localhost ([::1]:56436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9SoC-0001cF-Hz for larch@yhetil.org; Mon, 17 Jan 2022 09:16:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Rnm-0000lL-Ns for guix-patches@gnu.org; Mon, 17 Jan 2022 08:12:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9Rnl-0006Xn-Nd for guix-patches@gnu.org; Mon, 17 Jan 2022 08:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9Rnl-0004Tr-Jx for guix-patches@gnu.org; Mon, 17 Jan 2022 08:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53315] [PATCH 024/150] gnu: Add rust-chacha20-0.8. Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jan 2022 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53315 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53315@debbugs.gnu.org Received: via spool by 53315-submit@debbugs.gnu.org id=B53315.164242506617122 (code B ref 53315); Mon, 17 Jan 2022 13:12:01 +0000 Received: (at 53315) by debbugs.gnu.org; 17 Jan 2022 13:11:06 +0000 Received: from localhost ([127.0.0.1]:45088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Rms-0004S5-Dp for submit@debbugs.gnu.org; Mon, 17 Jan 2022 08:11:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]:53571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Rmq-0004R0-H0 for 53315@debbugs.gnu.org; Mon, 17 Jan 2022 08:11:05 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F3F6E240101 for <53315@debbugs.gnu.org>; Mon, 17 Jan 2022 14:10:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1642425059; bh=hBl55nDqeZyaN9sYwrcUnY87m2IsNqV2SL6B1SoaHUk=; h=From:To:Subject:Date:From; b=Zxdc0RCQN2cJt2aHIeTqMV+tRhEQ4Wb/mrim4GRPC1IhFJfmF/e1mbuETP20ZP4QF v1mp8lyPqaui2Bx7md2qNV3POkQLRZLxpCRgW07V9YAJ+SbWcSNbC9yuKhZ+50JrK2 4/TRU9sgbpsH7nRtpKxcYoYBSSLy9RJ1/19MOmpw17z1dJnJ127I/0pHxlLHAQg1DZ 0Lv14a+sBJQ8ByKQuzYfcGNpmcCTJbF3dWSjuwBsHbKTuLZbBl2W6EjCR4L7NljwTN dDPis7TGk1XC7B3dC2AEWIR8zUsLuMClp2KuDFUDfdVw+hOubcYT8ZyjZgsWlNeBfB uqvJnpmF4yHsA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JcsjG2FDlz9rxj for <53315@debbugs.gnu.org>; Mon, 17 Jan 2022 14:10:58 +0100 (CET) From: Aleksandr Vityazev In-Reply-To: References: Message-Id: <4e93ab8ad7e4adf234fdf4b2a9f0a4569b16ab19.1642424349.git.avityazev@posteo.org> Date: Mon, 17 Jan 2022 13:10:56 +0000 MIME-Version: 1.0 Content-Type: text/plain 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642428995; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Vp9/KFP0Ez7yTtE10OWtQGi3n13WULF1pzQYM254rWY=; b=tJwPA0uAIZZ7217R3v7i4c+n25ivIMhgpgP6R9CRvmYR7MUTzTdgg6Q0nAdtNTi00fDOL9 gmJ7oMA8Y9rNwfeGRSyzGjN5Cv8pahGY3mz17lIqqFbRh/fjFbNBxNAlyj9NVexgxGBgQi eqqsFLvw0cXIPpsPQrUJmFmwR+q/y6mx/9eG1VWY2CTQBKyEeGmKQTrL+ldGMouUOOM5DR UuSVz2THBdFrFPnyC8bNkgwpE8ZyAOO5uIbGh17CJuZJaPUHmtiRqyXlzXrRQ7Re6ojWtb ykE2jWTbU35N7jXT0WcwMzPjw0OjFy6SKCaQ1EIfhv6VOY7MyErDpUdSXQtIvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642428995; a=rsa-sha256; cv=none; b=IlXe8Z5IB2EjD6N8JzzjiE6nnF/x2/m/lw4CSMGWDr33KTvo4ch/TAJFpyP2ujRV9jo8x6 N6bqttzntbN+JmXToBGqBbkCquCzJI5vu+JS697tvF5Cn0MGJ7+k0P8yhIty3RhGgCkm2E +dDm2S3GVKysw1UxVOhGMBjhxesgLqEMY9W4FknnhaWmnr5JPhwpUZ0jW7ztmHXISS8ktW uZt/d2ifRnbKhQbVkEjDm6ELoAtbsJyK0ege/LSayezu+SU8dCD20hFfwmfX6i9AFXg4n4 sBNsQvY8POCvD+/Q6yguc3Kc3ldMTzHeau25AwGyfxXiN+kQuE9fKL1IK8yOhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=Zxdc0RCQ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=Zxdc0RCQ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3805B3CB52 X-Spam-Score: -1.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3GLvSW1HfJuL * gnu/packages/crates-io.scm (rust-chacha20-0.8): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fe4e366c60..88af7f4b54 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9206,6 +9206,38 @@ (define-public rust-cfg-if-0.1 (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) +(define-public rust-chacha20-0.8 + (package + (name "rust-chacha20") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/stream-ciphers") + (synopsis "ChaCha20 stream cipher implemented in pure Rust") + (description + "The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits +from the RustCrypto @code{cipher} crate, with optional architecture-specific +hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12, +XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional +@code{rand_core-compatible} RNGs based on those ciphers.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-chalk-derive-0.68 (package (name "rust-chalk-derive") -- 2.34.0 -- Aleksandr Vityazev