From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OGaDGm+wPGC3IAAA0tVLHw (envelope-from ) for ; Mon, 01 Mar 2021 09:14:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id FyduFm+wPGC3fQAA1q6Kng (envelope-from ) for ; Mon, 01 Mar 2021 09:14:23 +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 C8C0725954 for ; Mon, 1 Mar 2021 10:14:22 +0100 (CET) Received: from localhost ([::1]:37978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGedB-00088U-Ua for larch@yhetil.org; Mon, 01 Mar 2021 04:14:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGecs-00085z-O9 for guix-patches@gnu.org; Mon, 01 Mar 2021 04:14:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGecs-0002kf-GV for guix-patches@gnu.org; Mon, 01 Mar 2021 04:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGecs-0003IB-BA for guix-patches@gnu.org; Mon, 01 Mar 2021 04:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v2 40/52] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Mar 2021 09:14:02 +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.161458998912443 (code B ref 44492); Mon, 01 Mar 2021 09:14:02 +0000 Received: (at 44492) by debbugs.gnu.org; 1 Mar 2021 09:13:09 +0000 Received: from localhost ([127.0.0.1]:48050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGec1-0003Ec-93 for submit@debbugs.gnu.org; Mon, 01 Mar 2021 04:13:09 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:49015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGebz-0003EJ-Ab for 44492@debbugs.gnu.org; Mon, 01 Mar 2021 04:13:08 -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 4DpvgN004Dz3wbn for <44492@debbugs.gnu.org>; Mon, 1 Mar 2021 10:13:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1614589984; bh=obrgtzNcVI+rdqfyYEbGYm5H4GG629zvoQ0gaemgI6c=; h=From:To:Subject:Date:In-Reply-To:References; b=N6dzYMLHKA90PSqyVy+YyGBtWV/e4Ioo+b6+8EhBePqnkFdtezL+Ashx7yGM295tu 3u6bKOvbB0y5+IaCCygjvyGmdKM2an3L2PcxQE0/mjEc4cyhp9iz9ApJZodiS0FW47 OYSfLxbUkVzhK/8auPaKWFwEELvtL/XXnQ0G++so= From: Leo Prikler Date: Mon, 1 Mar 2021 10:11:08 +0100 Message-Id: <20210301091117.26777-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <87sg5lhemw.fsf@nicolasgoaziou.fr> References: <87sg5lhemw.fsf@nicolasgoaziou.fr> 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=1614590063; 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=obrgtzNcVI+rdqfyYEbGYm5H4GG629zvoQ0gaemgI6c=; b=EYur7n966N8FqdJOGpyhHZs3V6p2PL88+yqOdz263D1SXcX0AeLQ3m3MzUJU6zq2KnWBNE /4tOe/ngfH5iTGGiH271kU2AQ7JcwZ7ZuE2qlSpi7CJ/rdfaGjuvx7NJrn9GQYi1Mxpdhz Q9JcypC3l41advi+F/UF2mQq5D0zvfZ47K/NMD9h/p/vj2+VDeKq+7ArDC9FTwmgVXIHCR WkiBgFS5wRqL/4r/rZ9qf5ES6bqlJ6KSaQYSNh03GS2DQGYs+oBB2gRL32xmsPu5C3jY41 rJOT+BhRtfU1f2q1lYMxPu1SVG5dQI+lhnyaN2aY8PUirEgNUwizqF3MYlhb1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614590063; a=rsa-sha256; cv=none; b=sA0X94kMMiWv9AfS55RWFUBguDyovXwg2GhCL17dK55ogdDsTkh1aHVrdIvRJjM+7APRjd GQs20vrvk0BroMqDq8MThjR3qo+Faq5cAnwu6/3B6O8CzOsP6rCALUdrCpYff54nmdWl3O CKW+K146X35fc6t/OJIMKgShelEBOWN0wQgSxcRLm+0AByHMvkNgIQOIa3LHvPt3BrJ/rr yjX+Q3XjUlfWv6TW3eVQSNTF59evt5Zyx9mNqAVF1Pni29g4reLUhIZuQIdXsV3e3S4q2H Nw0wtmL2sp4x1pLY0S0x3QL6ETD8qNT3wGVcoy+Yc3mGez9YJwVr08bhgqhp0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=N6dzYMLH; 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.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=N6dzYMLH; 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: C8C0725954 X-Spam-Score: 3.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9rDGIJnSZrf9 * 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 61c636c02e..699a954b9e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17698,8 +17698,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 @@ -17711,7 +17741,6 @@ Derivation Function (HKDF).") (sha256 (base32 "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) @@ -17719,13 +17748,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