summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 12:07:36 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 12:24:25 +0100
commit89bf667cafe0d9b0d961701f6c629bb6258dd0e7 (patch)
tree6017e7da59fa853f55f0584ffcfe76ad95632864
parent1cc184e6eb2d6b4ffd652e7f0421242cbe463654 (diff)
downloadguix-89bf667cafe0d9b0d961701f6c629bb6258dd0e7.tar.gz
gnu: python-mimeparse: Use PYPI-URI.
* gnu/packages/python-xyz.scm (python-mimeparse)[source]: Use PYPI-URI.
-rw-r--r--gnu/packages/python-xyz.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9c73f1103f..39aecb39b9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1395,9 +1395,7 @@ software.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/p/python-mimeparse/python-mimeparse-"
-             version ".tar.gz"))
+       (uri (pypi-uri "python-mimeparse" version))
        (sha256
         (base32
          "0y2g6cl660bpz11srgqyvvm8gmywpgyx8g0xfvbiyr0af0yv1r3n"))))