From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8O1PO8WVSmD3ZQAA0tVLHw (envelope-from ) for ; Thu, 11 Mar 2021 22:12:21 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kJwPN8WVSmDwUAAAbx9fmQ (envelope-from ) for ; Thu, 11 Mar 2021 22:12:21 +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 6CFA9182ED for ; Thu, 11 Mar 2021 23:12:21 +0100 (CET) Received: from localhost ([::1]:44756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXY-0008TF-3h for larch@yhetil.org; Thu, 11 Mar 2021 17:12:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVa-00051a-Sh for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:19 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVa-0008QL-L8 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-0005sQ-Fo for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 40/47] gnu: Add rust-hkdf-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.161550061722572 (code B ref 44492); Thu, 11 Mar 2021 22:10:18 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:17 +0000 Received: from localhost ([127.0.0.1]:55236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVY-0005ri-Et for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:18693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVV-0005qk-VN for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:14 -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 4DxNRR2Hgtz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500611; bh=oGi3DplWUpAeKBC/iGP7nKZragaBox/e6iW9DwsnwPs=; h=From:To:Subject:Date:In-Reply-To:References; b=cLuXlIO1nE09qCaFvXfcAa/TXC4XyCWWMgD1wrvasoKvbjn1ZbPNb2TOTtAakMXKV Eo6PDHQ+0spoHTVIYD8RTXNSd0dWlprth1WaUZtiC5a60dmxSppWoIQ/efVZGUFrRz mgr+AZVa7ubS8k2Gtdq88dMFxo8CB9/3JQ5pyq/4= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:49 +0100 Message-Id: <20210311220756.23132-40-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=1615500741; 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=oGi3DplWUpAeKBC/iGP7nKZragaBox/e6iW9DwsnwPs=; b=ecJUml0aXzRU7BFkue0++LM57evY0/8DukYMI2f1sKzvpsYse3+B7F3Mh0lWyqFjzNvNZV frX1kTWsJv3M3ALVKOe+SMz7KyYLgGZQGitA/44iBoPDWuhHIelRNW3Iink2eamWvU3V0n pCutTapb2PTZ8245TNkkTfP8tcaESqtnhU9JSvgUSoKa0wIvPqBCOkaP0pLtKzBgoCsWt1 llg7JDvhbuVQIn77VFsrHFb+3BtKBS7CRLMx+kiRBXEHIG/A7T5owisfZ9ip+xtlJyxOa1 wzahJvQMiM6j+0Fqtql7fA7DwefBFg7ZtTjxvhFgqA0mPRpK0nORFJ/467rXoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615500741; a=rsa-sha256; cv=none; b=Tk589AJQq7zqLu1Jjuxy+XjXTy/4zOI2DXUruK1QYixd/9pDaZxDVJ4VnehAuSmnOKZ4z1 x7F5qmgs6wqrrxpCYSn32QFOSo++4cvpJpGK5RkfKBII5MkMTJH3meXEHJJ8v45Zaot1jO 5t3B48hQKZp6Ap1K+HQ99U6tvkZfXpLR35o3AB26CmngE9FnalBNJQnH5MyXizqaq4F6n8 tSQqO3CpDNXstrgiL6hzt591gEpiOl5dXiuEmM09ogJd2FKZW5qIQWgANTIg1+Qg+GyGnG TS16FLziIcqwL4DLdlQ3BuBm5bZPMl7LgtoIud/Ocp34NHWlpF0gYeMbjJw9Jg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=cLuXlIO1; 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.71 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=cLuXlIO1; 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: 6CFA9182ED X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: Nn6DrzVwP+HB * gnu/packages/crates-io.scm (rust-hkdf-0.10): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 224d08f2d8..81a0dce618 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17750,23 +17750,24 @@ compile time.") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) -(define-public rust-hkdf-0.9 +(define-public rust-hkdf-0.10 (package (name "rust-hkdf") - (version "0.9.0") + (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) + "0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.8)) + ("rust-hmac" ,rust-hmac-0.10)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) ("rust-crypto-tests" ,rust-crypto-tests-0.5) @@ -17775,10 +17776,35 @@ compile time.") ("rust-sha2" ,rust-sha2-0.9)))) (home-page "https://github.com/RustCrypto/KDFs/") (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)") - (description "This package provides a HMAC-based Extract-and-Expand Key + (description "This package provides an HMAC-based Extract-and-Expand Key Derivation Function (HKDF).") (license (list license:expat license:asl2.0)))) +(define-public rust-hkdf-0.9 + (package + (inherit rust-hkdf-0.10) + (name "rust-hkdf") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.8)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-crypto-tests" ,rust-crypto-tests-0.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + (define-public rust-hkdf-0.8 (package (inherit rust-hkdf-0.9) -- 2.30.1