From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KFXxDu7z6WFSPQAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 00:44:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yMxFDO7z6WHmJgEA9RJhRA (envelope-from ) for ; Fri, 21 Jan 2022 00:44:46 +0100 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 983F212DD7 for ; Fri, 21 Jan 2022 00:44:45 +0100 (CET) Received: from localhost ([::1]:47762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAh6i-0002JM-Oq for larch@yhetil.org; Thu, 20 Jan 2022 18:44:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfOC-0003Gu-Ls for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:41 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNd-0005wr-4B for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAfNd-0001e8-3F for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53401 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53401@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 53401-submit@debbugs.gnu.org id=B53401.16427155975912 (code B ref 53401); Thu, 20 Jan 2022 21:54:04 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:53:17 +0000 Received: from localhost ([127.0.0.1]:59396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMr-0001X6-2D for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:17 -0500 Received: from mail-ed1-f52.google.com ([209.85.208.52]:33373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMg-0001Td-7N for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:07 -0500 Received: by mail-ed1-f52.google.com with SMTP id b13so34748305edn.0 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/W32G3qQ0vG4L+/aZG1cmTXI0VL7Q6EUNcj0TaQD5RQ=; b=O0COrAYgPFzt2TeETSasIl32OGkQdghBdjysky5BFytAnUpTMSGbuvIUBJQLQHxGei 2+b6pR8qunvVH39ZRBuSDAJqJUasvx8m32GQoa2G6Lw1fSFJ1C6k8OaVdruCJjoxxQh4 sErpQRl6XRdulpRwEP6FBVrRECee911y65i7W+21ahxjR9e4I0ifR7JXy38LUuCQqLoa p1gtEXsS3HNKArC4YunnivFoZE75QcVeyrNnFAJc4lfG90cUJsVzYTa03aXokrbXA18c 8VOojrPm5fv10pnRCHNd5YwrF6mzt/us1yLGhYXlvaKRxFc8BYmgMFgXQCF848pa8BPI gsMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=/W32G3qQ0vG4L+/aZG1cmTXI0VL7Q6EUNcj0TaQD5RQ=; b=tsVE9qOzXVvn/bsJseQGql2CBGbC1lau1rJn91SJYwQ01U/I5g794RFbnbJNapW6sz VnxZBmLLg6xcjknnKYAbIJr0HUUz9a1TYrx6E23nCnMkDTlWHW0frC+V6t+7ZkNug2Cz BEGrNCY5hw64wqhh7Bb/O5qJ4PyUiLabU1uevBwRO4Km+FO9CnRvIaIpTBtyLB8AxezH yZUg/D7Y6uhIepfKsM5OAJcbpsI94iQhfWkCOKlH1GgayiwSbwYQh4ziNA0GLUdbEIxM pFsUap7/51rwgE38OSDNv5RbUx4X9LVwJHUSuGwoK14qND601gFDNykwiSKDXLQidqte j8YA== X-Gm-Message-State: AOAM532UyZt5QfgRmzdayBLfiAzGALEeamhANclkuUEL3o1iDv+ZEIwF nrdgeRWiIjX4O7eLqNZfvMboMyIuahg= X-Google-Smtp-Source: ABdhPJxtHDs+qzmyZRGFOWKYSRlhJWLXhHiPIGM6ZGuZraPnrbQmRewLK/usfThzctT44jrVXbQPgQ== X-Received: by 2002:a17:907:1c8a:: with SMTP id nb10mr789877ejc.5.1642715580593; Thu, 20 Jan 2022 13:53:00 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.broadband.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id e17sm1405339eje.218.2022.01.20.13.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 13:53:00 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:06 +0100 Message-Id: <20220120215045.24768-10-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220120215045.24768-2-attila@lendvai.name> References: <20220120215045.24768-2-attila@lendvai.name> 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642722286; 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=/W32G3qQ0vG4L+/aZG1cmTXI0VL7Q6EUNcj0TaQD5RQ=; b=B9btAYBEBfiyGW0n9Vq5TXpqsd/asvEgTiURt0+kwk55q4aUUuKxmXqNo+0F8cpWokUi8N OXqTJEYGgTo9y3cjm2uhmrSVCG1OqbpoHa8UvKwkQCrwpR2nf/vFbXzHCnaw07Q/VPAOMR 86UPATZPIqDjvAzih5fTbGipdHwCCj8//c3puKcVoII1PRumMsUmq2JkTBeRKiwZKKlpoz Rlem3WUt4Txe8Zyv7fg/Hku1PQY03HJlxAUVLbfgDW99EReqsEJVA/YLJ50A1V4PFv2jXZ x5jyer8v8vLVvf6WMMFoXh0LW13cfKF2pAuHhLljGs193mkgnU8XZBYnBGyKMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642722286; a=rsa-sha256; cv=none; b=oCjJiaByxt3mrkiZlTbBHwvTlqtq9RpbVt4q8HDlReyEVltlP2DmDp5lg1+obs8e1I1e9H 1uj+WTJLqvv10cZi4u71PD1o8jdPvgyuRgA4U1FEjslIyc61TPW39cfmiZKErmHTdIYtf9 mM539oBcdpxt74iwakFkFtqlImkkTg6TXsyVZ3zKdk+1mX2ics8A2YTzKHTUQEDWh3m2WU cJvZq93T7rKwPcMGEvOs1EnAsMURvBc9cfvYSFx2/m7aSqfbiH9rwrOzTKvIKH7o+yj9Vv Xp6zHzdK2LGzacNZdyvqiCducGUnih6qwUrCFcXIPuLVM2BDA/86ch5oE/D6Bw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=O0COrAYg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=O0COrAYg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 983F212DD7 X-Spam-Score: -0.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: TfgT3n95ypRx * gnu/packages/crates-io.scm (rust-pbkdf2-0.7) (rust-pbkdf2-0.6): New variable. --- gnu/packages/crates-io.scm | 74 +++++++++++++++++++++++++++++++++----- 1 file changed, 66 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c70556e73e..e9c791106b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37306,8 +37306,72 @@ (define-public rust-pathdiff-0.1 (base32 "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3")))))) +(define-public rust-pbkdf2-0.7 + (package + (name "rust-pbkdf2") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "022m5yb6fagzrks5m5kkj2yzccqffk19vnchg289fqnj5p9nv4dz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-password-hash" ,rust-password-hash-0.1) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/RustCrypto/password-hashing") + (synopsis "Generic implementation of PBKDF2") + (description "This package contains a collection of password hashing +algorithms, otherwise known as password-based key derivation functions, written +in pure Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pbkdf2-0.6 + (package + (inherit rust-pbkdf2-0.7) + (name "rust-pbkdf2") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-hmac" ,rust-hmac-0.10) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + (define-public rust-pbkdf2-0.4 (package + (inherit rust-pbkdf2-0.6) (name "rust-pbkdf2") (version "0.4.0") (source @@ -37319,10 +37383,10 @@ (define-public rust-pbkdf2-0.4 (sha256 (base32 "1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-base64" ,rust-base64-0.12) + ("rust-byteorder" ,rust-byteorder-1) ("rust-crypto-mac" ,rust-crypto-mac-0.8) ("rust-hmac" ,rust-hmac-0.8) ("rust-rand" ,rust-rand-0.7) @@ -37333,13 +37397,7 @@ (define-public rust-pbkdf2-0.4 #:cargo-development-inputs (("rust-hmac" ,rust-hmac-0.8) ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/RustCrypto/password-hashing") - (synopsis "Generic implementation of PBKDF2") - (description "This package contains a collection of password hashing -algorithms, otherwise known as password-based key derivation functions, written -in pure Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-pbkdf2-0.3 (package -- 2.34.0