3
0
Fork 0
forked from mirrors/nixpkgs

add development version of speedtest-cli

This commit is contained in:
Domen Kozar 2013-07-20 12:45:33 +02:00
parent 6e97ea6b00
commit 8ea138d212
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchgit, pythonPackages }:
stdenv.mkDerivation rec {
name = "speedtest-cli-dev";
src = fetchgit {
url = "https://github.com/sivel/speedtest-cli.git";
rev = "fe0940c5744ebe74ca31ad44e6b181d82a89edab";
sha256 = "0iywcmgqi58bhldcf8qn1nr7mihypi5fp9s13d4vqc7797xvb28k";
};
buildInputs = [ pythonPackages.python ];
installPhase = ''
mkdir -p $out/bin
cp speedtest-cli $out/bin/
'';
meta = with stdenv.lib; {
homepage = https://github.com/sivel/speedtest-cli;
description = "Command line interface for testing internet bandwidth using speedtest.net";
platforms = platforms.all;
license = licenses.asl20;
maintainers = [ maintainers.iElectric ];
};
}

View file

@ -3587,6 +3587,8 @@ let
sparse = callPackage ../development/tools/analysis/sparse { };
speedtest_cli = callPackage ../tools/networking/speedtest-cli { };
spin = callPackage ../development/tools/analysis/spin { };
splint = callPackage ../development/tools/analysis/splint { };