From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: 31985@debbugs.gnu.org
Subject: [bug#31985] [PATCH 1/2] gnu: Add libscrypt.
Date: Wed, 27 Jun 2018 00:31:15 +0200 [thread overview]
Message-ID: <20180626223116.3448-1-mail@nicolasgoaziou.fr> (raw)
In-Reply-To: <20180626222409.3351-1-mail@nicolasgoaziou.fr>
* 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 <pierre.langlois@gmx.com>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;;
;;; 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
next prev parent reply other threads:[~2018-06-26 22:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 22:24 [bug#31985] [PATCH 0/2] Improve python-libscrypt speed Nicolas Goaziou
2018-06-26 22:31 ` Nicolas Goaziou [this message]
2018-06-26 22:31 ` [bug#31985] [PATCH 2/2] gnu: python-pylibscrypt: Improve speed Nicolas Goaziou
2018-07-02 15:33 ` Ludovic Courtès
2018-07-02 21:19 ` bug#31985: " Nicolas Goaziou
2018-07-02 15:32 ` [bug#31985] [PATCH 1/2] gnu: Add libscrypt Ludovic Courtès
2018-07-02 21:19 ` Nicolas Goaziou
2018-07-03 8:09 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180626223116.3448-1-mail@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=31985@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.