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 uP9mBKcPRWDzeQAA0tVLHw (envelope-from ) for ; Sun, 07 Mar 2021 17:38:47 +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 QPWYO6YPRWAgawAAB5/wlQ (envelope-from ) for ; Sun, 07 Mar 2021 17:38:46 +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 950EC1EBB7 for ; Sun, 7 Mar 2021 18:38:46 +0100 (CET) Received: from localhost ([::1]:33156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIxMb-0001JW-Po for larch@yhetil.org; Sun, 07 Mar 2021 12:38:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIxL7-0007vl-Jc for guix-patches@gnu.org; Sun, 07 Mar 2021 12:37:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIxL7-0006Bc-B9 for guix-patches@gnu.org; Sun, 07 Mar 2021 12:37:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIxL5-0003rY-9F for guix-patches@gnu.org; Sun, 07 Mar 2021 12:37:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v3 38/46] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Mar 2021 17:37:11 +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.161513861514601 (code B ref 44492); Sun, 07 Mar 2021 17:37:11 +0000 Received: (at 44492) by debbugs.gnu.org; 7 Mar 2021 17:36:55 +0000 Received: from localhost ([127.0.0.1]:41415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIxKp-0003nR-8D for submit@debbugs.gnu.org; Sun, 07 Mar 2021 12:36:55 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:26325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIxKn-0003n5-4u for 44492@debbugs.gnu.org; Sun, 07 Mar 2021 12:36:53 -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 4DtpYt3Thvz3wXG for <44492@debbugs.gnu.org>; Sun, 7 Mar 2021 18:36:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615138610; bh=oIAwYlEQyCfNAfseljrz3AtDrmMWkYE1X42RpETLtlw=; h=From:To:Subject:Date:In-Reply-To:References; b=FHGoJgWZteRc6mGHOgf8oeTgWvNCW3M9FtxJU0Q1/HqHyPIZJ1q1OACRukUFoBqgM mrgo0doPsegZZ6zbpr+tBP3WRp++9d5pjZj1TuI+GPOfIdCJ05UbTlacdRlhEdZ/oW iEIWGFJWgbyqM5kkqut+dBLXQTEedeXumNSALFnM= From: Leo Prikler Date: Sun, 7 Mar 2021 18:34:50 +0100 Message-Id: <20210307173459.3048-38-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210307173459.3048-1-leo.prikler@student.tugraz.at> References: <20210307173459.3048-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=1615138726; 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=mEpw2EyqbFHkBgarD20IsQb5WxagM3zFQwykCndq5g0fqZ3uiWXp4YRyAS1arZFIAHRr2u ftUJmSmSmpFa5hkpkntftS9hntMZ+tfbz1cGWS1Ay10Cw5cTnI3BeLiWOq4G01a7IOezk2 vpt5pcg3twe1qLcDMs9F/3c9NzNhsn31mhq4VyEY9Mc6LBygoldvz/F3Yea2taseBUA843 65h0RedZwqJ8RGS+YKvff+m+SYp0EjJTBf8TftuJUAabhXpLeOvr7zpGKSm7PuAsVkWH3z mUhHQnH5nLQmfTVARUdWe6Df85RDQf5hoiPQuiJou3KEUvPnFuUdbnTJol9v0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615138726; a=rsa-sha256; cv=none; b=JVtDrxG8wiuwfIMoTs9GWAliq7XZpU2b72NAxfzeh4hzIxvlawihr/X2OHqJNveRfYP57e iA2t2FN/NX9JMjAZA3zFaaX0E1L7zsDlpscxfc+HTJzJzAov3Wq7SbVlH+ide8lQ5iGuMS JHnKRinlJW6J12AyNM6k3+pmJnr/AvY8o72gRA4NjYDuzkuFn4EFYcSouDdvEozMR0zd6H OYOEm2vOkeAf1TXTeMBdjHNoWFibvDKZ0g4DIqjWpNYnsmYpQpA3biUU5KrbKXONHCjeIX G/nAt9KPDl/Q3v40y7FjOvBL+FY8euU8dUB1LwrgFot78d02AEHvoT/J9VCpng== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=FHGoJgWZ; 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.73 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=FHGoJgWZ; 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: 950EC1EBB7 X-Spam-Score: 3.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: J9Lt/4i44FXV * 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