From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXwVK-0000ou-Ia for guix-patches@gnu.org; Tue, 26 Jun 2018 18:32:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXwVG-0007SM-6L for guix-patches@gnu.org; Tue, 26 Jun 2018 18:32:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXwVG-0007Rp-3A for guix-patches@gnu.org; Tue, 26 Jun 2018 18:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXwVF-00054Q-J3 for guix-patches@gnu.org; Tue, 26 Jun 2018 18:32:01 -0400 Subject: [bug#31985] [PATCH 1/2] gnu: Add libscrypt. References: <20180626222409.3351-1-mail@nicolasgoaziou.fr> In-Reply-To: <20180626222409.3351-1-mail@nicolasgoaziou.fr> Resent-Message-ID: From: Nicolas Goaziou Date: Wed, 27 Jun 2018 00:31:15 +0200 Message-Id: <20180626223116.3448-1-mail@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31985@debbugs.gnu.org * gnu/packages/crypto.scm (libscrypt): New variable. --- gnu/packages/crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 338db04f5..38befb838 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 Pierre Langlois ;;; Copyright © 2018 Efraim Flashner ;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -478,6 +479,33 @@ utility as a demonstration of the @code{scrypt} key derivation function. attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.") (license license:bsd-2))) +(define-public libscrypt + (package + (name "libscrypt") + (version "1.21") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/technion/libscrypt.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d76ys6cp7fi4ng1w3mz2l0p9dbr7ljbk33dcywyimzjz8bahdng")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "PREFIX=" %output) + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://lolware.net/libscrypt.html") + (synopsis "Scrypt shared library") + (description "@code{libscrypt} implements @code{scrypt} +functionality, a replacement for @code{bcrypt}.") + (license license:bsd-3))) + (define-public perl-math-random-isaac-xs (package (name "perl-math-random-isaac-xs") -- 2.18.0