summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-10-22 23:32:17 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-10-22 23:32:17 +0200
commitef7dd2e2593faa249e940f11f3d859accc87dad1 (patch)
tree0c728d73f9aaf81ce96d639f3b53f0504e39a114
parent60e29339d8389e678bb9ca4bd3420ee9ee88bdf2 (diff)
downloadguix-ef7dd2e2593faa249e940f11f3d859accc87dad1.tar.gz
gnu: python-chardet: Fix PyPi download location.
This is a followup to a54cb3ce1f114ee1bc26371d9bc4abb0e04001ef.

* gnu/packages/python.scm (python-chardet)[source](uri): Use PYPI-URI.
-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 108a54f8d0..86bc4875bf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8623,10 +8623,7 @@ simulation, statistical modeling, machine learning and much more.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/c/chardet/chardet-"
-             version
-             ".tar.gz"))
+       (uri (pypi-uri "chardet" version))
        (sha256
         (base32
          "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"))))