summary refs log tree commit diff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-09-17 17:55:33 +0000
committerLudovic Courtès <ludo@gnu.org>2021-09-30 23:44:49 +0200
commit6d6b3a0c3ceeead480cfab398dd7515252e5a22a (patch)
tree97a0782eac61b50f7de546a37f5678c9b9f6dd22
parentfee1a41f9572de5c04d46e6c8e03a442d7f10d4c (diff)
downloadguix-6d6b3a0c3ceeead480cfab398dd7515252e5a22a.tar.gz
gnu: python-passlib: Use python-bcrypt.
py-bcrypt is unmaintained and support will be dropped in passlib 1.8. The
recommended option is bcrypt.

* gnu/packages/python-crypto.scm (python-passlib)[propagated-inputs]: Remove
python-py-bcrypt. Add python-bcrypt.
[arguments]<#:phases>: Don't return #t.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python-crypto.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index cbf563af42..bfc97e53b3 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -154,13 +154,13 @@ Password Scheme\"} by Niels Provos and David Mazieres.")
     (native-inputs
      `(("python-nose" ,python-nose)))
     (propagated-inputs
-     `(("python-py-bcrypt" ,python-py-bcrypt)))
+     `(("python-bcrypt" ,python-bcrypt)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-before 'check 'set-PYTHON_EGG_CACHE
            ;; Some tests require access to "$HOME/.cython".
-           (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp") #t)))))
+           (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp"))))))
     (home-page "https://bitbucket.org/ecollins/passlib")
     (synopsis "Comprehensive password hashing framework")
     (description