From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eLfHMDFfm2XR/AAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 03:34:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ODaoKjFfm2UaNQAAqHPOHw (envelope-from ) for ; Mon, 08 Jan 2024 03:34:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=EJS2F0t8; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704681265; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=8xuYhGAl9sZcNg+1abWUFG+iFgnVf0iluNs0v1l+CsI=; b=Vz29fmfLTLkz5o/ZaHIXlYBFL9mzejizgm2UDk84EkZzWeqxvLFywyNJINeUsBmAbjDAbm kdmpo1YD1QrUN9q8wlbtJPp2bW2Frn+sWWPNSjibjclBhlrYeMKS3GOOxw15kq61rZ9Pwy K/CwqSXkYLLgSA3jSi3YprhX+DAM7fIQMlPzvKGSsG8NFz464ful9Yj838VHJQuqnDhCDK QybTNQ3+GWbIPmRJkxhczzT/iVr/FWlSPfr6lrZOXEFRY/PZ++d64Tt0nVyIvTa+8ttNKV Ey7SzqqsYEwz07EmM+JkZD+x1/CW4tPjwIy0WYp7gV+LQERw6Yr66ErjYeIO9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704681265; a=rsa-sha256; cv=none; b=W16sCe9q46scr0eExG8Rz6Eguv+c+JdZcq9dW+ZVsXLPy1tcbuFJWRajxOp8f6ampBBAuh YXQGqpmtcHlZWcqx7GFEIgXT2n/y5GSPNRbUiMPMjIh9hMklr9jEx5wjgqtVXTQW2eD3uz Vq2Hs0NPyvI8VnDP9kYWzWjVVEKklHAeE4oxFMlbg3u1HQQRSDImX8e737KK/JLT6pVb3p XE3rnFqjWrDzDf8yiH5q4wz1KcVrYC+NM4YU7QCwSiGlZK3yftKIvEIC1QKYHBeKom7EXb xAl6EZvkm0UBIrNR5ThnY0i+lSDutuzVWryTwWGumzuTuE9OW1dMTompfY9K7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=EJS2F0t8; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) 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 86BB4694D6 for ; Mon, 8 Jan 2024 03:34:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMesZ-0007jN-K0; Sun, 07 Jan 2024 20:56:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMesL-0007KM-Is for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:25 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMesL-0004a0-Ap for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:25 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMesR-0000Hk-5e for guix-patches@gnu.org; Sun, 07 Jan 2024 20:56:31 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 096/156] gnu: Add rust-poly1305-0.8. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:56:31 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.1704678960526 (code B ref 68312); Mon, 08 Jan 2024 01:56:31 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:56:00 +0000 Received: from localhost ([127.0.0.1]:34415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMerw-00008K-2t for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:56:00 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:33388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMer4-0008Eh-I8 for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:12 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678898; bh=8xuYhGAl9sZcNg+1abWUFG+iFgnVf0iluNs0v1l+CsI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=EJS2F0t8HKhS/IcWY+LDgAtHZAYzguihIwop/shSdgpDY25BFlHjBenedlwcvqRtM Ol2ztxyy/9HYutXnn9ywV2LcTeUHpIh1Ie2pZ9ZY0rXJvKiZSKElm7h+09Cqo3gWQX Es2AY4jnJVM5yUGW+pGj6qkDj8s6F47nxzQ0e/rc= Date: Mon, 8 Jan 2024 02:53:13 +0100 Message-ID: <92817f78b56a7514416a8bea7fc1a9f182a33528.1704675828.git.w@wmeyer.eu> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 86BB4694D6 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.71 X-Spam-Score: -3.71 X-TUID: KGFXbTt4adbn * gnu/packages/crates-io.scm (rust-poly1305-0.8): New variable. (rust-poly1305-0.7): Inherit from rust-poly1305-0.8. Change-Id: I853879812db8636e3a5ef8743ac5215f97156685 --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c56313a2a8d..307edaac393 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52737,8 +52737,34 @@ (define-public rust-pollster-macro-0.1 (description "Proc-macro crate for pollster.") (license (list license:asl2.0 license:expat)))) +(define-public rust-poly1305-0.8 + (package + (name "rust-poly1305") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1grs77skh7d8vi61ji44i8gpzs3r9x7vay50i6cg8baxfa8bsnc1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-universal-hash" ,rust-universal-hash-0.5) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/RustCrypto/universal-hashes") + (synopsis "Poly1305 universal hash") + (description + "Poly1305 is a universal hash function which, when combined with +a cipher, can be used as a Message Authentication Code (MAC).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-poly1305-0.7 (package + (inherit rust-poly1305-0.8) (name "rust-poly1305") (version "0.7.2") (source @@ -52752,7 +52778,6 @@ (define-public rust-poly1305-0.7 (snippet '(begin (substitute* "Cargo.toml" (("version = \">=1, <1\\.4\"") "version = \"^1\"")))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cpufeatures" ,rust-cpufeatures-0.2) @@ -52760,13 +52785,7 @@ (define-public rust-poly1305-0.7 ("rust-universal-hash" ,rust-universal-hash-0.4) ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/universal-hashes") - (synopsis "Poly1305 universal hash") - (description - "Poly1305 is a universal hash function which, when combined with -a cipher, can be used as a Message Authentication Code (MAC).") - (license (list license:asl2.0 license:expat)))) + (("rust-hex-literal" ,rust-hex-literal-0.3)))))) (define-public rust-polyval-0.6 (package -- 2.41.0