[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/4] gnu: Add python-pbkdf2.
From: |
Carlo Zancanaro |
Subject: |
[PATCH 1/4] gnu: Add python-pbkdf2. |
Date: |
Tue, 3 Jan 2017 00:32:35 +1100 |
* gnu/packages/python.scm (python-pbkdf2, python2-pbkdf2): New variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fce62175b..2841830f0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -34,6 +34,7 @@
;;; Copyright © 2016 Julien Lepiller <address@hidden>
;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2016 Thomas Danckaert <address@hidden>
+;;; Copyright © 2017 Carlo Zancanaro <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -12268,3 +12269,27 @@ possible on all supported Python versions.")
(define-public python2-xopen
(package-with-python2 python-xopen))
+
+(define-public python-pbkdf2
+ (package
+ (name "python-pbkdf2")
+ (version "1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pbkdf2" version))
+ (sha256
+ (base32
+ "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page
+ "http://www.dlitz.net/software/python-pbkdf2/")
+ (synopsis "PKCS#5 v2.0 PBKDF2 Module")
+ (description "This module implements the password-based key derivation
+function, PBKDF2, specified in RSA PKCS#5 v2.0.")
+ (license license:expat)))
+
+(define-public python2-pbkdf2
+ (package-with-python2 python-pbkdf2))
--
2.11.0