From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AJrxGbCVSmDYcwAA0tVLHw (envelope-from ) for ; Thu, 11 Mar 2021 22:12:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8FHQFbCVSmCrJgAA1q6Kng (envelope-from ) for ; Thu, 11 Mar 2021 22:12:00 +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 054FF25089 for ; Thu, 11 Mar 2021 23:12:00 +0100 (CET) Received: from localhost ([::1]:43690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXD-0007fk-5c for larch@yhetil.org; Thu, 11 Mar 2021 17:11:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVa-000517-Gs for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVa-0008Q9-7u for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVa-0005sI-3G for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 39/47] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:18 +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.161550061622553 (code B ref 44492); Thu, 11 Mar 2021 22:10:18 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:16 +0000 Received: from localhost ([127.0.0.1]:55232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVX-0005rU-V1 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:50846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVT-0005q7-N1 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRP0PXxz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500609; bh=oIAwYlEQyCfNAfseljrz3AtDrmMWkYE1X42RpETLtlw=; h=From:To:Subject:Date:In-Reply-To:References; b=oYvZpyBu/S5gek5fe7fMFWiiSVRDvqHFQWubZcQkm3gr/XSXVOGxRPDllR95DbPYi Xyi40meJcrDxqtxLhOE9OQnZzu5WhWi/HJ1peoohNyRmTQfl04XibSKnjXxOJ0eUr3 GSDKbc9Rhbt0Wb3LsgsSe0DBqSxC1f9vn/Q5Hl0Y= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:48 +0100 Message-Id: <20210311220756.23132-39-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-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.117 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=1615500720; 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=oIAwYlEQyCfNAfseljrz3AtDrmMWkYE1X42RpETLtlw=; b=tVLv1BVriTLUYrjTBErKtKAPp3ma76owHv0ProU3PuuECjBykl2/yR71cO+mqWBG4ShBQ+ Av0AL4MNjtazbn55AFfupT/wzKT/9cz5VtrqqzRrQteBHyXY9BiWBZFvM45sSnBqd22ChO fWU/FCWIcD1V+JttMnCXZ7XSIutTwoiolhad+WImZ7Xq9apDwglOZ4hdSSm/I+xGt+AasG MPQzsMhpR4sBH0mzsozjCECrwfZiyNK6vbg95h8uxsdnt9X5VgndFMO5IA7+6S6NaM3HZE o8B4Hx9CiMbl4rc3kOeUlGCdVzGb8wfvge0Fu1+rUhoubyBGqSiMjLyMEw32bA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615500720; a=rsa-sha256; cv=none; b=Cj6LaS958D7wC5vdC/aEbjZcpD7MTRU6/hE6kLRnCO9HeH9cMKHNwrKpTLk+6KrBoKvbbm vPllxOPqXbYnyfOT6WYwKJ9ucEYyr5cRn+n5idO2BqH1lAdv7p3VCM00leTPFWB1RT3HOc ymIboLU2iJ8hseHleA10kkOc3CW18SQegi7ngawPa9ilWTptRJ8WTpu2lhNg53DdNFEgAg UecYzfXHolCd1bXmvaCOveZIrN6mLVQ+mTFD5uVQ0UQyr6giKZFclmi+LEdXiGuv5Zhv9x 8o1+HmqrxQQZ6BZjZBvSutZ1MlgWrpZBhtI+xdRmid/HsrdcJ2kfsTiOW7kZmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=oYvZpyBu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=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-Spam-Score: 3.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=oYvZpyBu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=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: 054FF25089 X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: KJPcVvEKbcBR * 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 0ee85ed735..224d08f2d8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17797,8 +17797,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 @@ -17810,7 +17840,6 @@ Derivation Function (HKDF).") (sha256 (base32 "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) @@ -17818,13 +17847,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.30.1