From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sNIDEJID4mBUEwAAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 20:53:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KA59C5ID4mAtKAAAbx9fmQ (envelope-from ) for ; Sun, 04 Jul 2021 18:53:06 +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 862A423A1A for ; Sun, 4 Jul 2021 20:53:05 +0200 (CEST) Received: from localhost ([::1]:36950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m06WM-0005NF-VP for larch@yhetil.org; Sun, 04 Jul 2021 14:07:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m053O-0006bY-1n for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m053N-0001SJ-J0 for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m053N-0003RZ-HK for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jul 2021 16:33:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49393 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49393@debbugs.gnu.org Cc: Domagoj Stolfa X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162541634512940 (code B ref -1); Sun, 04 Jul 2021 16:33:09 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2021 16:32:25 +0000 Received: from localhost ([127.0.0.1]:43100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m052f-0003MW-A8 for submit@debbugs.gnu.org; Sun, 04 Jul 2021 12:32:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:39246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m052b-0003LF-3l for submit@debbugs.gnu.org; Sun, 04 Jul 2021 12:32:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m052a-0006XR-TI for guix-patches@gnu.org; Sun, 04 Jul 2021 12:32:20 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:54918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m052Y-0000sg-5d for guix-patches@gnu.org; Sun, 04 Jul 2021 12:32:20 -0400 Received: by mail-wm1-x335.google.com with SMTP id l1so9728838wme.4 for ; Sun, 04 Jul 2021 09:32:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ebsqkGPxC22Vh3WE4A08VXq+Dfny1W6kvj51bIxXeto=; b=KoK3etbah7om/SQuzi1iTW2z/4o2fZKLxfklPL/DHxRkIEtBEY3yNWUrEMSB6ukJxV pt3LwXdXcgrY+avhGRhkAqsSrqn0TlQ6ddY/ldLaM6fIxw7PmLz+awIeCmm48ood6utW 5ZvaCAmYjLu4UF9+W14R/SuzJoqIKa2YxAWiVY5YDTeNJ1JO95Yh3vWkj4ndCQ6nk2/H 6xSKfP41DTqmAizkmF42kaIKggODgifh8L4qqKYhKpV4Bhb3q/PnU+ucvxOTZTGnynqp sO5Px4dNcv2346/uQXt7z9vAOTjDYLckyw2alQ5H3KbEO2aYLkZU6qdcpOvNx/ktdeuj g2Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ebsqkGPxC22Vh3WE4A08VXq+Dfny1W6kvj51bIxXeto=; b=FqnXDokf0CqlcHVuIswi7Wfu7Ifh9FEk+qIWVGKmzbHF+nAaQyxiSeWo/FHwsjeDMn L8RM5p3L/Y4fchwBNelWwyqWyD+f9+FiqnuYEfo5yOZMyziTuIKagCzgsuJ4LOSlk0ND 3hNI6MYxufO55ZZcnpqZh/6Clkquwd+QS3SEGEHVoCCjKgpxbLT317jIblYOfQU+UM72 Jd+V08d66pQ2PXFjle4ziLuozm1G63bLrM6bKdHuwR/L8HOqpnbfwj+ImE+UGTtosLDE +bxjAHjvOyYAiXaj8bB6kczMdjPz8TucRr7mdlF3X7j7h5ejW5mm53gANa5KECEgrg1W fD5g== X-Gm-Message-State: AOAM530xfUsWq1rn4a2upac+CeB2n+ViU8ieEG7qCLKc2hW+DeUlUSgK VX3i5xlNIbL2o7Hj+ax3YNv69oeq7grF7Q== X-Google-Smtp-Source: ABdhPJwxVT7b0UwOvvNdvuaE0TnN4vGdSAC1M1M8AnQVwvZQjGHJsL0+nSX9cII7lexKPrCmXE//pQ== X-Received: by 2002:a1c:f717:: with SMTP id v23mr10468395wmh.32.1625416336918; Sun, 04 Jul 2021 09:32:16 -0700 (PDT) Received: from pepehands.quns.cam.ac.uk (ds815.queens.cam.ac.uk. [131.111.128.28]) by smtp.googlemail.com with ESMTPSA id e23sm5368446wme.31.2021.07.04.09.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jul 2021 09:32:16 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 4 Jul 2021 17:31:52 +0100 Message-Id: <20210704163203.31351-11-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210704163203.31351-1-ds815@gmx.com> References: <20210704163203.31351-1-ds815@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=domagoj.stolfa@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 04 Jul 2021 14:06:40 -0400 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=1625424785; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ebsqkGPxC22Vh3WE4A08VXq+Dfny1W6kvj51bIxXeto=; b=oIzqxU4N43ELh8Pn7JDlTVyX0a/DAZiS5VSOKBbcmHcqnw0t/qW6ZA+qDHwVvDehVjyuJq 3AHAZFaADvaKZ8kWSQ+ljcHUvbRmEcG4IElObN1VOP08Qifn3ZRtVKNIBu0mCHnJ2neIFn E8cPG+jz0lK182gNhWnxtpeV+5ppDtx8y1/TxIoradu+otZlmWbuSs3QHkWM4FjHJar8xn OlwDemgmlGMZLypnNqEFzdcfZLvwUjnXG87QKhW/UndKhAZdASaYc/dLjv0aJj3q60MjE8 LCKi1wssQ58dUjCqnFevOqSZrGqZ3Xg4SgEMi53yFpnrWC0eUm91XSL7wWIKbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625424785; a=rsa-sha256; cv=none; b=ere/Mvr9+SrRlh1jv+XNdyxupvvbD8Mf0KQmpKDluNuYPtEeXJjEl2Ce6Y4rfGg0Zem5oN 1TWPefw6knLp9Xy03tG+xVUlWWK6XOOa8PcIkAbiaTmSEMA0vu0sd1ZmQW2FPdLEgCcbAY AxNX3YoIgrQN4cmM64WSUjXRMJ3RClEdlZkVGtcQAONPQ4WFt/Q1MOYH5Vyx6lNp8je+Uy 8VwGR7xITcMwRGMq0Z7h/zdxLKDYZT+MkCtsh7nsr07IWt54xUf0WwxrqqOw7PhLulhbED aiSGtG0s3rnuedvdfTMjZS+WLUdv7gdhRfrfHEV5P8E+kRkTtzU2/7h+qdM8pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=KoK3etba; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 4.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=KoK3etba; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 862A423A1A X-Spam-Score: 4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: tbTSdt9CjXzn * gnu/packages/crates-io.scm (rust-hmac-0.11): New public variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 055730505b..4dfaa544e8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19986,6 +19986,36 @@ Derivation Function (HKDF).") (("rust-digest" ,rust-digest-0.8) ("rust-hmac" ,rust-hmac-0.7)))))) +(define-public rust-hmac-0.11 + (package + (name "rust-hmac") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-streebog" ,rust-streebog-0.9)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis + "Generic implementation of Hash-based Message Authentication Code (HMAC)") + (description + "Generic implementation of Hash-based Message Authentication Code (HMAC)") + (license (list license:expat license:asl2.0)))) + (define-public rust-hmac-0.8 (package (name "rust-hmac") -- 2.32.0