summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-02-11 23:53:05 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-20 14:11:38 +0000
commit5faf1036e5d0abc69b394e81bfe8ffa31fab3ef8 (patch)
tree3a05158700c3e3fcaa9b73106f3d131b24866e08 /gnu/packages/python-crypto.scm
parent8247e0408d951ccf98263b32984b23bd9c3c926a (diff)
gnu: python-passlib: Switch to hg-fetch.
* gnu/packages/python-crypto.scm (python-passlib) [source]: Switch to hg-fetch. [home-page]: Refresh it. Change-Id: I15dddec374e72e404bc5c9922ccbe6111a853c22 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 9b66cb62115..93e542d80fc 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -53,6 +53,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
+ #:use-module (guix hg-download)
#:use-module (guix git-download)
#:use-module (guix build-system cargo)
#:use-module (guix build-system pyproject)
@@ -186,10 +187,13 @@ Password Scheme\"} by Niels Provos and David Mazieres.")
(version "1.7.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "passlib" version))
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "https://foss.heptapod.net/python-libs/passlib")
+ (changeset version)))
+ (file-name (hg-file-name name version))
(sha256
- (base32 "015y5qaw9qnxr29lg60dml1g5rbqd4586wy5n8m41ib55gvm1zfy"))))
+ (base32 "1knbafs3ckcc6prd1ln2r0sdkawpzx7naf749cj3ljlms8v0bsca"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -203,7 +207,7 @@ Password Scheme\"} by Niels Provos and David Mazieres.")
(list python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-argon2-cffi python-bcrypt python-cryptography))
- (home-page "https://bitbucket.org/ecollins/passlib")
+ (home-page "https://foss.heptapod.net/python-libs/passlib")
(synopsis "Comprehensive password hashing framework")
(description
"Passlib is a password hashing library for Python 2 & 3, which provides