From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gA5fMAUH62BllwAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 16:58:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wPEDLAUH62CtHgAAB5/wlQ (envelope-from ) for ; Sun, 11 Jul 2021 14: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 aspmx1.migadu.com (Postfix) with ESMTPS id 4447A2CD5E for ; Sun, 11 Jul 2021 16:58:13 +0200 (CEST) Received: from localhost ([::1]:49888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2auJ-0000vU-2E for larch@yhetil.org; Sun, 11 Jul 2021 10:58:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2atH-0006JS-Cm for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2atH-00078I-2q for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2atH-0003dm-2f for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 14:57:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49383 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49383@debbugs.gnu.org Cc: Domagoj Stolfa Received: via spool by 49383-submit@debbugs.gnu.org id=B49383.162601541413795 (code B ref 49383); Sun, 11 Jul 2021 14:57:07 +0000 Received: (at 49383) by debbugs.gnu.org; 11 Jul 2021 14:56:54 +0000 Received: from localhost ([127.0.0.1]:35647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2at4-0003aL-BX for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:54 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:39652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2ass-0003WF-R0 for 49383@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:43 -0400 Received: by mail-wr1-f47.google.com with SMTP id f17so20839850wrt.6 for <49383@debbugs.gnu.org>; Sun, 11 Jul 2021 07:56:42 -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=pvL9UGt0+OcfcRiNqk/9rFCIIcA7mrEb0RuxAPnggt8=; b=WeX8gbuh7XUrc+l36CRj0fo5eL40/GD+gFETGUDuEaxkenpXpXhmT3nf1hkSBSjQEP l41PfIkYxzmMNpmGFOcWsUEpaal4ULFi32C1UtGqmKFsFpvKXplRKcfMAW7myOhei6J+ DaBS+dfsNDKclwY5cbX/zBEUa0YgN8UUA3WecYl0BJ0Ww+fL0lH13SdUXngp69uC7ict wO41xyB1l3xX15/OphjZ+2O8kIMciPV+Db5LYGk53xDnT3eUBCTJqvsGRrzUXQJuhOlg 5bkSIi7WSkrLJZ8QQgbeAPRL/rzqj9TSAzaVdXsJTzkKKYb0RtL0o3C/AOcjcvLMw0oS dBeg== 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=pvL9UGt0+OcfcRiNqk/9rFCIIcA7mrEb0RuxAPnggt8=; b=WxaNm94Mms40uqDGYtJH4y0tE+gIICcPk50LDPVBVM3ei4WRjGvTVixcfjJfQeXlfJ kQpZLsSyuaGZPnlKyvx3niUKvWfKTQAm+oYroF5mTSh/wHcI3p6asvzSCI/3bHOWxq8X 2ovEBKPtS0UlajeZN0gIgrtOgu/x0rZosp759k0vBHzEjj8WPBVH9hTlT5mLb9G1ieBc tFK5xkp/ya6jAFmbH/Tg/xoOdXdO1pZ04RhyRMOjicU6leRX8df+GAhP7jSD0cNW3uuq m+yeochWbgiV+m7clULhH/GxbfICp3XkM5++01XqDh6F1l4JYnGmnIsNtRMosbYJ5YbO +tgQ== X-Gm-Message-State: AOAM531YfQRDY7tvvEPlM6cH0NX86uD69iyYYlFFexvkYr9hGqoLbPer hcm1iDQqrEgBd4XqLiQ1zvad3Pk5HCAUgg== X-Google-Smtp-Source: ABdhPJzOiYY+T60OThqCqUhhQe2MuiDrEPZO0Fq/98XHzmx8ufkFO61drUNJAo9KYCoysGZ00d9aUg== X-Received: by 2002:a5d:4d4b:: with SMTP id a11mr29861048wru.325.1626015397221; Sun, 11 Jul 2021 07:56:37 -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 b16sm11827632wrs.51.2021.07.11.07.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jul 2021 07:56:36 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 11 Jul 2021 15:55:45 +0100 Message-Id: <20210711145558.20441-14-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210711145558.20441-1-ds815@gmx.com> References: <20210711145558.20441-1-ds815@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1626015493; 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=pvL9UGt0+OcfcRiNqk/9rFCIIcA7mrEb0RuxAPnggt8=; b=P6RM36tbSUmfzV3ET4qrIx0cLgOJ6Xx/ZjfMqXtO4HaQGQN9udIuxU67fPQyCXdVqwsy86 yxQ2r77e8od7tLpBcbwZmcr/6raIItBDZhI2amxqaH5nQt36WpSvf/h0JJrqRqsxFAwn3b OThMKFnKApv1owBPhuN9ZOZDbVoBo5XoFoSBYma8tTYjYhuis/HDXZ/C1rE01DrL2sahyW aE0YC1h2ksMicplSq7xwtrxqnqO0T8XxXSoi7GZV/mKh5PvdIiWEtEt0JbYzm4bntg0Ogf MzgSxkwFU1jlS3WNzTFloSf3y+ky+h1sWlAz6xWKTjd4e/1Gp9VyUR3C7XqVWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626015493; a=rsa-sha256; cv=none; b=BCN6OsH5jD82TnyW8KYaKekICbhIOug9iXN0sUmWJbo6kvvaKhYkswOgfAYeWzu90ovxG5 vijjcuQsnYLn2X9ehFWUh9g3bi4qrRFfbAcCywM7CD4Nz5R+Dk90a4GzhHQPMqmA8d8muY h8Ahmqj3Q1qCQl0Uxf4jHhwYx7z2+Cdybf3xk+nHb+mAnC1gYfs0G6FsW9+H/qiVkADUib YwHOGBmtoi2AS/4aD5H5VOwi2wVM7dFlQw76LjadWQ32VNfXK/YTDmNKVxxVX+W7CL0RCA xJk4wW4qDBsTL3Y3quMvpOjldY1t2LQFWeBordxfdgpq27f2knt8WX2f0X7TFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=WeX8gbuh; 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: 2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=WeX8gbuh; 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: 4447A2CD5E X-Spam-Score: 2.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: a3YVGRq9mnfM * gnu/packages/crates-io.scm (rust-hmac-0.11): New public variable. --- gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 62f4309772..c6ca1f8948 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20259,8 +20259,40 @@ 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") + (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.11) (name "rust-hmac") (version "0.8.1") (source @@ -20280,17 +20312,11 @@ 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 - (inherit rust-hmac-0.8) + (inherit rust-hmac-0.11) (name "rust-hmac") (version "0.7.1") (source @@ -20313,7 +20339,7 @@ Hash-based Message Authentication Code}.") (define-public rust-hmac-0.5 (package - (inherit rust-hmac-0.8) + (inherit rust-hmac-0.11) (name "rust-hmac") (version "0.5.0") (source @@ -20331,7 +20357,7 @@ Hash-based Message Authentication Code}.") (define-public rust-hmac-0.4 (package - (inherit rust-hmac-0.8) + (inherit rust-hmac-0.11) (name "rust-hmac") (version "0.4.2") (source -- 2.32.0