On Thu, Jun 23, 2016 at 01:07:26PM -0300, Daniel Pimentel wrote:
> * gnu/packages/python.scm: add new package and update variable

The program claims to support Python 3 and Python 2. It also has a test
suite in the 'test/' directory. So, I changed your patch as attached.
But, it fails the test suite.

Can you try to make it work?
>From 9b31ca925ef9da4e9e5299215dc73f866114fee9 Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d...@d4n1.org>
Date: Thu, 23 Jun 2016 13:07:26 -0300
Subject: [PATCH] gnu: Add python-pbkdf2.

* gnu/packages/python.scm (python-pbkdf2, python2-pbkdf2): New variables.

Co-authored-by: Leo Famulari <l...@famulari.name>
---
 gnu/packages/python.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8c34ff2..c4bfe76 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9291,3 +9291,23 @@ 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 asl2.0)))
+
+(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)
+    (home-page "https://www.dlitz.net/software/python-pbkdf2/";)
+    (synopsis "A module that implements function PBKDF2.")
+    (description "A module that implements the password-based key derivation
+function PBKDF2.")
+    (license license:expat)))
+
+(define-public python2-pbkdf2
+  (package-with-python2 python-pbkdf2))
-- 
2.9.0

Reply via email to