From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iI7sM0WuT2BsEgAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 18:58:13 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OHTTL0WuT2CdZQAA1q6Kng (envelope-from ) for ; Mon, 15 Mar 2021 18:58:13 +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 7E66022A77 for ; Mon, 15 Mar 2021 19:58:13 +0100 (CET) Received: from localhost ([::1]:40874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPs-0006ff-L1 for larch@yhetil.org; Mon, 15 Mar 2021 14:58:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0006jI-DY for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9I-0007Mc-75 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9I-0005rV-5T for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 39/51] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583362622381 (code B ref 44492); Mon, 15 Mar 2021 18:41:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:26 +0000 Received: from localhost ([127.0.0.1]:37123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8T-0005nu-Jt for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:26 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:12570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8N-0005mz-UR for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:08 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb94vCLz1LWpf for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb94vCLz1LWpf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833605; bh=Kgw/DXlC2PrhI5ZMRNiOtXMP803nL8Weco3hDz3lsfE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oBOXPELfIJcaN32xjzdH6NHGoCxWHPt/SZtU45l+5FCfs42ys8SEYCibfzv7sDFpO wXl1fEkvj28KViEpHLxMcSjENqQ6Odkpu5WxCkRz4GoEhfwy9wHYSzkp1OCAGZ4sZf BVckOpmL4qGdHxRl7M+PVL8BLZxCem/6RGOixIN0= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:26 +0100 Message-Id: <20210315175838.1931-39-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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=1615834693; 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=Kgw/DXlC2PrhI5ZMRNiOtXMP803nL8Weco3hDz3lsfE=; b=oHdhqvljSwVEou0jECGEsecv/yagQLor07TNY0xrcFzno+quIfYQlIedrQD0xLRNthy16R ex9+WKT4MeD0dmW8gh9drdy489fjrjvOmecywmhIlxxMXWNG+nlC1ETOtbP/Qf1dbXLiet 92Cbb8Hf/oecPtxOw00QUab8VGx3OS12WAPDYR9DYmxKOX2GeIeJpkELjlZNJat7Bzjeqm TKbI2ChRpLS8a2ljRFzXxdkqw2y7KX9u0nO3m4rRgslcQifHG5yXV38QVCxEfQUR2qXB03 Ac/ZHGetXQ3LdNfQiw8DMX21VRdY8ZiCz+fF0no3uEWUAR3unMCuU6LkwbKuZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615834693; a=rsa-sha256; cv=none; b=tcjp0RnKToi7BX6HObyMeXqA2M1HOmcifN5Vh0G3+nE5qEuWjTunW2vzSf1VwvwoKW13x7 tylIphwK4bTeqv3HKqmoqsR3x4wJP7kwlX+q/JTRTfMpsuMlG7nxi5EHYtbhu491zTM2tC WXyCWnxl7hvgeW7ZOi9lcS5LiyNbmE2iYT1JM7IlQVwuL09tu5vIjpsEqObsOqZ9iVVrla HXmp5NYRVb/gF6zrlpjVxEFSDgTvxv+RytUzECq619nfxg89O26bXB42lbN/JKFBCy/1bK GAGgYE/WE/GYe1rPxs6LfWM5kKnGCyHzr2BHWu3cUVO1+tXg7dFnvmwwbuG1Ug== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=oBOXPELf; 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-Spam-Score: 3.70 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=oBOXPELf; 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: 7E66022A77 X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: iACYtDHB9XHH * 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 b9ac0e1915..e490987c7c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18060,8 +18060,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 @@ -18073,7 +18103,6 @@ Derivation Function (HKDF).") (sha256 (base32 "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) @@ -18081,13 +18110,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.2