From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +FVUF+T76WGIZgAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 01:18:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aAWhFOT76WHXIAAA9RJhRA (envelope-from ) for ; Fri, 21 Jan 2022 01:18:44 +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 277EBFEEE for ; Fri, 21 Jan 2022 01:18:44 +0100 (CET) Received: from localhost ([::1]:52878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAhdb-0000rW-7V for larch@yhetil.org; Thu, 20 Jan 2022 19:18:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAfO4-0003GY-G4 for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:40 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAfNb-0005wo-PO 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 1nAfNb-0001df-Oz for guix-patches@gnu.org; Thu, 20 Jan 2022 16:54:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 21:54:03 +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.16427155965883 (code B ref 53401); Thu, 20 Jan 2022 21:54:03 +0000 Received: (at 53401) by debbugs.gnu.org; 20 Jan 2022 21:53:16 +0000 Received: from localhost ([127.0.0.1]:59390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMq-0001Wj-25 for submit@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:16 -0500 Received: from mail-ed1-f46.google.com ([209.85.208.46]:38673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfMf-0001Tc-Hu for 53401@debbugs.gnu.org; Thu, 20 Jan 2022 16:53:06 -0500 Received: by mail-ed1-f46.google.com with SMTP id j23so29441046edp.5 for <53401@debbugs.gnu.org>; Thu, 20 Jan 2022 13:53:05 -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=7bAFeYSIBHPsH0d84Ex0W1Up9G4J5+3dKx2HMkpA0W0=; b=mt4r3c50p+tR/HmAUXAMVRLXNucYgtX2h+OFyjwT2GTnPed0tYCD+dbQjsZJXEOx0h 1KV6U/VQBprPmoO8RgPxXFvkO9oVdvpoBmzKbTKyCwVIf00WLKj/IYXKQwo9mutUYufG DJDVCnrHlCepCH1i+fLTI6AWykJpiVnd9dc/M4RJc4jsp+rjbW18byhpM2zzSiQI2Wmr Xk5DvSjW6kR/vu/1q/NfLAu3cP0Awik2Gmjk1MDARImLAmhSHCip+U+tJbsPtU3yJ3EW iegOoOHJXV3jQJHenfxekHNGfxi29cWIOozyg0V/8w8a3d3SIyxrkYw0IKejvHh3xn3g l7Mw== 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=7bAFeYSIBHPsH0d84Ex0W1Up9G4J5+3dKx2HMkpA0W0=; b=RYcp4ULoQ+AMp6ocNOln/BcSZNBDHaiF/6TQvzs75yVfO4uh+rp3wrMHFliRIk4/6s pL28jQWcAs587RsUDBVEgpZlVO5fP2LDVXxMJPTslCY36YewK96LN1tKFLLy9vBcX1pX MABKelwPOPy1KpN9kg/w+758857a41ZkVe1A8clmi01/U1lZOqSmugkLyeQBmBP+eTk8 R7shMRfBNhHsjpNgyMACWfnyocIIGQPe3Q3NWIF9kEKhH8A90qBPLS47O/WqkJpO/5/2 MTmX2HQZIVjF6bZl41B3eYfc2wr8ro2YqQHwOftVS1oq/lf16ufbvQbJ+Q2KgxSzZ1V3 njJA== X-Gm-Message-State: AOAM530YkfQhVRsvBT5sqgH94zp8NPn6mfXxYCUvFYCOxvnoODg/FkzN 9aNC+mq92DUbcs3+icPaQSWA34nK6UY= X-Google-Smtp-Source: ABdhPJx658tI3CMkl8z3r6BAvuQCaKrCAGuSXhhoZkWt7Z+YIpADuqz6Wn+A+fBGxxijQlSS6JpJyw== X-Received: by 2002:a17:907:9484:: with SMTP id dm4mr778017ejc.45.1642715579880; Thu, 20 Jan 2022 13:52:59 -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:52:59 -0800 (PST) From: Attila Lendvai Date: Thu, 20 Jan 2022 22:50:05 +0100 Message-Id: <20220120215045.24768-9-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=1642724324; 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=7bAFeYSIBHPsH0d84Ex0W1Up9G4J5+3dKx2HMkpA0W0=; b=RG55A+uQdaJ3eV7NmJhaXP8WkjJcsmiYiGhjs6B2h1SUrOoVQMDVN6ZINUgAUtX72nMU4z DjoR3NvhO4slkemWax8/2mI04Gd16ZWDN6M0tURU6oWTwntjbS2e1U5a2ifIjuyBBOic7v RjfgI35j4JJVbPESGfbHXtayvkMxasPdAKGzU0dQ4/4yvsB83OVdKdn/Y+/HJ5y0iidcdg WAXWF3vQWpFB2zV9R/vg0SicAQ8x6h0kNjhjTbZhQZlKKYCsJM7DcEY3GniNd+F9XCCqoO RHPDjPmr/NlEJvRoLv4ykBLNl0nhw6mqfpKiswMgeR/td4yK9Y2q8s4yRzMXRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642724324; a=rsa-sha256; cv=none; b=p9STcaqggfmVdXK9dJpMwdhiwM//cAiA/UClhgVxxF4+lg4YjTMgpxE0be51EJAQPhUxF4 PDMYfsLF1ltxFcaW7fdMGhetdxJKA9itzCgrZTGbCZoS45lgFO14bXFNSGRF3D+wlJ3Gtb oMyhFmnKRjnA6E1GGogHhbSzI/SLlowTRurDl8yNclo0Cb0wRuvZ27xSn2ylG5ZABXDRTm si6dO/rcJA7GwIB6j5wx5yDtgKjKUb54vUKcOkw7N0kAXTwyN91l9e4x3oJrFPOsZHanDW +JP1OV44v8BG+Q55HjW+EF3iMOeVxxpxf/a8zt8fax9xqa1gM0qjr2W02mdtFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mt4r3c50; 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: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mt4r3c50; 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: 277EBFEEE X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: yj4gPMhsIEwq * gnu/packages/crates-io.scm (rust-password-hash-0.3): (rust-password-hash-0.1): New variables. --- gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 32873c8eea..c70556e73e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -65617,6 +65617,52 @@ (define-public rust-packed-struct ;; User can choose either license. (license (list license:expat license:asl2.0)))) +(define-public rust-password-hash-0.3 + (package + (name "rust-password-hash") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "password-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-subtle" ,rust-subtle-2)))) + (home-page + "https://github.com/RustCrypto/traits/tree/master/password-hash") + (synopsis + "Traits which describe the functionality of password hashing algorithms") + (description + "Traits which describe the functionality of password hashing algorithms, +as well as a `no_std`-friendly implementation of the PHC string format (a +well-defined subset of the Modular Crypt Format a.k.a. MCF)") + (license (list license:expat license:asl2.0)))) + +(define-public rust-password-hash-0.1 + (package + (inherit rust-password-hash-0.3) + (name "rust-password-hash") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "password-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ymh3np2bamjy8rszimksxcp264dclil4620bxm8rff9pyj6m62l")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-rand-core" ,rust-rand-core-0.6)))))) + (define-public rust-piper-0.1 (package (name "rust-piper") -- 2.34.0