From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SHYTFURwUmCBOAAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 21:10:28 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aKvHEERwUmC5PQAAB5/wlQ (envelope-from ) for ; Wed, 17 Mar 2021 21:10:28 +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 aspmx2.migadu.com (Postfix) with ESMTPS id D089A23150 for ; Wed, 17 Mar 2021 22:10:27 +0100 (CET) Received: from localhost ([::1]:55154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMdQx-0003jr-03 for larch@yhetil.org; Wed, 17 Mar 2021 17:10:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMdQb-0003K1-9W for guix-patches@gnu.org; Wed, 17 Mar 2021 17:10:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMdQb-0002k6-1g for guix-patches@gnu.org; Wed, 17 Mar 2021 17:10:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMdQa-00048F-To for guix-patches@gnu.org; Wed, 17 Mar 2021 17:10:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v8 39/51] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Mar 2021 21:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161601537615698 (code B ref 44492); Wed, 17 Mar 2021 21:10:04 +0000 Received: (at 44492) by debbugs.gnu.org; 17 Mar 2021 21:09:36 +0000 Received: from localhost ([127.0.0.1]:44254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMdQ7-000451-Pi for submit@debbugs.gnu.org; Wed, 17 Mar 2021 17:09:36 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:35115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMdQ2-00044b-Qo for 44492@debbugs.gnu.org; Wed, 17 Mar 2021 17:09:31 -0400 Received: from localhost.localdomain (194-96-13-79.adsl.highway.telekom.at [194.96.13.79]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4F12pc3yM5z1LB1y for <44492@debbugs.gnu.org>; Wed, 17 Mar 2021 22:09:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4F12pc3yM5z1LB1y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1616015368; bh=VoTQ3QNjX9uZl5mwwjm586N/ppr2gMN/h/KlSBeIap8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=clbNol9n4hg7/A8lQpWtjdlAWGiPfZqq5F/8kFi+KkF8n5po5MROfKW4KEbEI+nPc iuIcWNstEr5M9QNO64j5ufRPC55MichDSTsRXXRC1lejcQxqO7ZVED9W/cYpgdSFYt 4gKCc5MveGDk/XoqZtJR94Roeopp5YIf0tciR7OM= From: Leo Prikler Date: Wed, 17 Mar 2021 21:27:23 +0100 Message-Id: <20210317202735.14024-39-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210317202735.14024-1-leo.prikler@student.tugraz.at> References: <20210317202735.14024-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616015427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=VoTQ3QNjX9uZl5mwwjm586N/ppr2gMN/h/KlSBeIap8=; b=CbBIvdFtmY5YGgwYO+CiLfkDfd/MWwOKwn5K5ISKyC9lyhptL8WuV+FQTJGiAL8kMgzqKr ISMQity3zaOTA0HFrWhhTn4cS3wQrlOKR6bVTaosKlhkaAxQ6cjvESjLRrkCRCFGfd4Oky BySYASFpBtw3MWLcdq8PS/P8DQgUysTBzsM0ZTLzhaI9/BpzXJQuoVA7AEz2aQ17T2znCv xJ6pkF3TOy8KmqH5P+hjbZWneA5bKHusUrLC6o08fPT72lIw2eZ9GEG0FdfXPKbJiTLAvw wFGu7VkA51/ghPi4YtMlfWsLobrY0Rvh2pDyXYcXl7KZUzmnIk2mX0bDJg+juA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616015427; a=rsa-sha256; cv=none; b=mL3LuYHdZDVE5bxOeMfVTDoB+D1BjWejdHNov0Mx8nONWIrY6BP3BkrSedH20NzyRj5qfr t+2yhaY2Ke8msm3QtBmIgZr05p9diOshyRSX1lMLptFiMfrN39cemiUp9CmK5fJkL3sZD2 CxQiQepSlDyVV0WH/VYustnlNNloIMhwXKLTWt4GvOiTqK4Fz7hWiB1kY9Bsq2I1UFKFF9 xmVjdWCmdOV7ekh1VTHvZtGdk9yAGwrEkEiNE/cL1NQUfbH85t6to2MstkWVh2nw1yQ06v LSiMGftJvr1mJKQ3sYJw8gBmzyw/OwzxoexcSYCg0+qnV4eHn0ZI7gMwn3DsBQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=clbNol9n; spf=pass (aspmx2.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.70 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=clbNol9n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx2.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: D089A23150 X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: r7PmUlMJmrg8 * gnu/packages/crates-io.scm (rust-hmac-0.10): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 558660b7b2..2d00bfa73a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18070,8 +18070,38 @@ Derivation Function (HKDF).") (("rust-digest" ,rust-digest-0.8) ("rust-hmac" ,rust-hmac-0.7)))))) +(define-public rust-hmac-0.10 + (package + (name "rust-hmac") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis "Generic implementation of Hash-based Message Authentication Code") + (description + "This package provides a generic implementation of @acronym{HMAC, +Hash-based Message Authentication Code}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hmac-0.8 (package + (inherit rust-hmac-0.10) (name "rust-hmac") (version "0.8.1") (source @@ -18083,7 +18113,6 @@ Derivation Function (HKDF).") (sha256 (base32 "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) @@ -18091,13 +18120,7 @@ Derivation Function (HKDF).") #:cargo-development-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/RustCrypto/MACs") - (synopsis "Generic implementation of Hash-based Message Authentication Code") - (description - "This package provides a generic implementation of @acronym{HMAC, -Hash-based Message Authentication Code}.") - (license (list license:expat license:asl2.0)))) + ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-hmac-0.7 (package -- 2.31.0