From 32cf5c4d02d3bbdba02d4b8b5b647ce5afdf9053 Mon Sep 17 00:00:00 2001 From: ndowens Date: Wed, 1 Mar 2017 16:53:30 -0600 Subject: [PATCH] speedtest-cli: 0.3.4 -> 1.0.2 --- pkgs/tools/networking/speedtest-cli/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/networking/speedtest-cli/default.nix b/pkgs/tools/networking/speedtest-cli/default.nix index b82e1e337a7c..ac23635441d4 100644 --- a/pkgs/tools/networking/speedtest-cli/default.nix +++ b/pkgs/tools/networking/speedtest-cli/default.nix @@ -1,12 +1,14 @@ -{ stdenv, fetchurl, pythonPackages }: +{ stdenv, fetchFromGitHub, pythonPackages }: pythonPackages.buildPythonApplication rec { name = "speedtest-cli-${version}"; - version = "0.3.4"; + version = "1.0.2"; - src = fetchurl { - url = "mirror://pypi/s/speedtest-cli/speedtest-cli-${version}.tar.gz"; - sha256 = "19i671cd815fcv0x7h2m0a493slzwkzn7r926g8myx1srkss0q6d"; + src = fetchFromGitHub { + owner = "sivel"; + repo = "speedtest-cli"; + rev = "v${version}"; + sha256 = "1p7lavw95w3as9b2b55i61mwxdr1b6jj40yly91f9j26ywr5dpkg"; }; meta = with stdenv.lib; { @@ -14,6 +16,6 @@ pythonPackages.buildPythonApplication rec { description = "Command line interface for testing internet bandwidth using speedtest.net"; platforms = platforms.all; license = licenses.asl20; - maintainers = [ maintainers.domenkozar ]; + maintainers = with maintainers; [ domenkozar ndowens ]; }; }