[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add python-py-bcrypt.
From: |
Alex Kost |
Subject: |
06/08: gnu: Add python-py-bcrypt. |
Date: |
Fri, 31 Jul 2015 08:05:40 +0000 |
alezost pushed a commit to branch master
in repository guix.
commit feb0d9c3401e12307e1d45dcdb069107d7337a66
Author: Eric Dvorsak <address@hidden>
Date: Sat Jul 25 21:39:03 2015 +0200
gnu: Add python-py-bcrypt.
* gnu/packages/python.scm (python-py-bcrypt, python2-py-bcrypt): New
variables.
Signed-off-by: Alex Kost <address@hidden>
---
gnu/packages/python.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 files changed, 39 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3ee46f3..f3d0e03 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -30,7 +30,7 @@
#:use-module ((guix licenses)
#:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11
x11-style
gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+
agpl3+
- psfl public-domain x11-style))
+ isc psfl public-domain x11-style))
#:use-module ((guix licenses) #:select (expat zlib) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
@@ -298,6 +298,44 @@ pidof, tty, taskset, pmap.")
(define-public python2-psutil
(package-with-python2 python-psutil))
+(define-public python-py-bcrypt
+ (package
+ (name "python-py-bcrypt")
+ (version "0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/p/py-bcrypt/py-bcrypt-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0y6smdggwi5s72v6p1nn53dg6w05hna3d264cq6kas0lap73p8az"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://code.google.com/p/py-bcrypt")
+ (synopsis
+ "Bcrypt password hashing and key derivation")
+ (description
+ "A python wrapper of OpenBSD's Blowfish password hashing code. This
+system hashes passwords using a version of Bruce Schneier's Blowfish block
+cipher with modifications designed to raise the cost of off-line password
+cracking and frustrate fast hardware implementation. The computation cost of
+the algorithm is parametised, so it can be increased as computers get faster.
+The intent is to make a compromise of a password database less likely to
+result in an attacker gaining knowledge of the plaintext passwords (e.g. using
+John the Ripper).")
+ ;; "sha2.c" is under BSD-3;
+ ;; "blowfish.c" and "bcrypt.c" are under BSD-4;
+ ;; the rest is under ISC.
+ (license (list isc bsd-3 bsd-4))))
+
+(define-public python2-py-bcrypt
+ (package-with-python2 python-py-bcrypt))
+
+
(define-public python-paramiko
(package
(name "python-paramiko")
- branch master updated (99e29da -> 9589c68), Alex Kost, 2015/07/31
- 01/08: gnu: Add python2-pycrypto., Alex Kost, 2015/07/31
- 02/08: gnu: Add python-ccm., Alex Kost, 2015/07/31
- 05/08: gnu: Add python-paramiko., Alex Kost, 2015/07/31
- 03/08: gnu: Add python-ecdsa., Alex Kost, 2015/07/31
- 04/08: gnu: Add python-httplib2., Alex Kost, 2015/07/31
- 06/08: gnu: Add python-py-bcrypt.,
Alex Kost <=
- 07/08: gnu: Add python-passlib., Alex Kost, 2015/07/31
- 08/08: gnu: Add python2-ansible., Alex Kost, 2015/07/31