summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 13:41:38 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 13:41:38 +0100
commit415ae3307330c26252fe18701df9b637f9a18624 (patch)
tree2a57e7daad614f8fe6bef199c9de7d03b15f3436 /gnu
parentcb539b7c12a784a8374ac3b8c0748a2d587a7541 (diff)
downloadguix-415ae3307330c26252fe18701df9b637f9a18624.tar.gz
gnu: python-discover: Use PYPI-URI.
* gnu/packages/check.scm (python-discover)[source]: Use PYPI-URI.
Diffstat (limited to 'gnu')
-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 df07d44138..64af7ea097 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1802,9 +1802,7 @@ especially -cover-package.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/d/discover/discover-"
-             version ".tar.gz"))
+       (uri (pypi-uri "discover" version))
        (sha256
         (base32
          "0y8d0zwiqar51kxj8lzmkvwc3b8kazb04gk5zcb4nzg5k68zmhq5"))))