summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-06-12 10:45:47 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-06-12 11:16:05 +0300
commitb37404740e77a4eeb465a3acd52c244dc0739b42 (patch)
tree4a53773fdecc526cf50b1cff84a9f7981eb29d05
parent5b47ea9462696f59ab4530cc479ac37f528dcecf (diff)
downloadguix-b37404740e77a4eeb465a3acd52c244dc0739b42.tar.gz
gnu: speedtest-cli: Update to 2.0.2.
* gnu/packages/networking.scm (speedtest-cli): Update to 2.0.2.
[source]: Switch to a git checkout.
-rw-r--r--gnu/packages/networking.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 40e8f34443..e040ef339c 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1350,16 +1350,17 @@ networks.")
 (define-public speedtest-cli
   (package
     (name "speedtest-cli")
-    (version "2.0.0")
+    (version "2.0.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/sivel/speedtest-cli/archive/v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sivel/speedtest-cli")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "16kcpba7nmszz2h0fq7qvv6src20syck2wlknaacg69kk88aybbk"))))
+         "0vv2z37g2kgm2dzkfa4bhri92hs0d1acxi8z66gznsl5148q7sdi"))))
     (build-system python-build-system)
     (home-page "https://github.com/sivel/speedtest-cli")
     (synopsis "Internet bandwidth tester")