summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 13:41:06 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 13:41:06 +0100
commitcb539b7c12a784a8374ac3b8c0748a2d587a7541 (patch)
treececcd01579af82378e1a4b6766e5fb7d7f5c8bc7
parent9fcedf079237d1484fab24ae29058f782f4ddc4b (diff)
gnu: python-testlib: Use PYPI-URI.
* gnu/packages/check.scm (python-testlib)[source]: Use PYPI-URI.
-rw-r--r--gnu/packages/check.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 9923c62cbb..df07d44138 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1305,9 +1305,7 @@ tools for mocking system commands and recording calls to those.")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://pypi.python.org/packages/source/t/testlib/testlib-"
- version ".zip"))
+ (uri (pypi-uri "testlib" version ".zip"))
(sha256
(base32 "1mz26cxn4x8bbgv0rn0mvj2z05y31rkc8009nvdlb3lam5b4mj3y"))))
(build-system python-build-system)