From patchwork Thu Jan 20 21:50:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 36691 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3E09D27BBEA; Fri, 21 Jan 2022 00:18:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 058D627BBE9 for ; Fri, 21 Jan 2022 00:18:43 +0000 (GMT) Received: from localhost ([::1]:52878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAhda-0000rW-5f for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 19:18:42 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")