aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3ae84251df..ee37ebb1fe 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7570,10 +7570,7 @@ reading and writing MessagePack data.")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://pypi.python.org/packages/source/n/netaddr/netaddr-"
- version
- ".tar.gz"))
+ (uri (pypi-uri "netaddr" version))
(sha256
(base32
"1zdfadvpq4lmcqzr383gywxn4xyn355kj1n3lk9q2l03vmyfrbiq"))))