diff mbox

gnu: Add python2-pbkdf2

Message ID 47f8d0533eac6b9d414fbee04a548b50@d4n1.org
State New
Headers show

Commit Message

Daniel Pimentel June 13, 2016, 9:11 p.m. UTC
Add new package python2-pbkdf2.

Patch attached.

Thanks Guixs,
diff mbox

Patch

From 8bf389c554c0b8e4f19f25c828fd2c2846cfb662 Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d4n1@d4n1.org>
Date: Mon, 13 Jun 2016 18:08:32 -0300
Subject: [PATCH 2/2] gnu: Add python2-pbkdf2

---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0ee6ade..c9ac1f1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9035,3 +9035,26 @@  It supports both the original 1.0 specification, as well as the
 new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
  etc.")
     (license license:expat)))
+
+(define-public python2-pbkdf2
+  (package
+    (name "python2-pbkdf2")
+    (version "1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://pypi.python.org/packages/source/p/pbkdf2/pbkdf2-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (arguments `(#:tests? #f))
+    (home-page "https://www.dlitz.net/software/python-pbkdf2/")
+    (synopsis "A module that implements the password-based key derivation function PBKDF2")
+    (description
+     "This module implements the password-based key derivation function, 
+PBKDF2, specified in RSA PKCS#5 v2.0.")
+    (license license:expat)))
-- 
2.7.4