all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: [PATCH 14/16] gnu: Add python-bcrypt.
Date: Sun, 11 Sep 2016 21:58:55 +0300	[thread overview]
Message-ID: <20160911185857.2123-15-efraim@flashner.co.il> (raw)
In-Reply-To: <20160911185857.2123-1-efraim@flashner.co.il>

* gnu/packages/password-utils.scm (python-bcrypt): New variable.
---
 gnu/packages/password-utils.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 7288da6..d2410c6 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -334,3 +334,38 @@ through the pass command.")
     (description "Argon2 provides a key derivation function that was declared
 winner of the 2015 Password Hashing Competition.")
     (license license:cc0)))
+
+(define-public python-bcrypt
+  (package
+    (name "python-bcrypt")
+    (version "3.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "bcrypt" version))
+        (sha256
+         (base32
+          "1giy0dvd8gvq6flxh44np1v2nqwsji5qsnrz038mgwzgp7c20j75"))))
+        (build-system python-build-system)
+    (native-inputs
+     `(("python-pycparser" ,python-pycparser)
+       ("python-pytest" ,python-pytest)))
+    (inputs
+     `(("python-cffi" ,python-cffi)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/pyca/bcrypt/")
+    (synopsis
+     "Modern password hashing library")
+    (description
+     "Bcrypt is a Python module which provides a password hashing method based
+on the Blowfish password hashing algorithm, as described in
+@url{http://static.usenix.org/events/usenix99/provos.html,\"A Future-Adaptable
+Password Scheme\"} by Niels Provos and David Mazieres.")
+    (license license:asl2.0)))
+
+(define-public python2-bcrypt
+  (let ((bcrypt (package-with-python2 python-bcrypt)))
+    (package (inherit bcrypt)
+      (native-inputs
+       `(("python2-setuptools" ,python2-setuptools)
+         ,@(package-native-inputs bcrypt))))))
-- 
2.10.0

  parent reply	other threads:[~2016-09-11 18:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 18:58 [PATCH 00/16] Add onionshare Efraim Flashner
2016-09-11 18:58 ` [PATCH 01/16] gnu: Add python-pika Efraim Flashner
2016-09-11 19:36   ` David Craven
2016-09-11 19:37     ` David Craven
2016-09-12  5:33       ` Efraim Flashner
2016-09-12 11:56         ` The ‘python2-variant’ property Ludovic Courtès
2016-09-11 18:58 ` [PATCH 02/16] gnu: Add python-peewee Efraim Flashner
2016-09-11 18:58 ` [PATCH 03/16] gnu: Add python-promise Efraim Flashner
2016-09-11 19:41   ` David Craven
2016-09-12  5:31     ` Efraim Flashner
2016-09-11 18:58 ` [PATCH 04/16] gnu: Add python-pytest-mock Efraim Flashner
2016-09-11 19:42   ` David Craven
2016-09-12  5:34     ` Efraim Flashner
2016-09-11 18:58 ` [PATCH 05/16] gnu: Add python-graphql-core Efraim Flashner
2016-09-11 18:58 ` [PATCH 06/16] gnu: Add python-graphql-relay Efraim Flashner
2016-09-11 19:38   ` David Craven
2016-09-11 18:58 ` [PATCH 07/16] gnu: Add python-sqlalchemy-utils Efraim Flashner
2016-09-11 18:58 ` [PATCH 08/16] gnu: Add python-pytest-django Efraim Flashner
2016-09-11 18:58 ` [PATCH 09/16] gnu: Add python-django-filter Efraim Flashner
2016-09-11 18:58 ` [PATCH 10/16] gnu: Add python-graphene Efraim Flashner
2016-09-11 18:58 ` [PATCH 11/16] gnu: Add python-consul Efraim Flashner
2016-09-11 18:58 ` [PATCH 12/16] gnu: Add python-cov-core Efraim Flashner
2016-09-11 18:58 ` [PATCH 13/16] gnu: Add python-nose2 Efraim Flashner
2016-09-11 19:39   ` David Craven
2016-09-11 18:58 ` Efraim Flashner [this message]
2016-09-11 18:58 ` [PATCH 15/16] gnu: Add python-nautilus Efraim Flashner
2016-09-11 18:58 ` [PATCH 16/16] gnu: Add onionshare Efraim Flashner
2016-09-11 19:00 ` [PATCH 00/16] " Efraim Flashner

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=20160911185857.2123-15-efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@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.