forked from mirrors/nixpkgs
add development version of speedtest-cli
This commit is contained in:
parent
6e97ea6b00
commit
8ea138d212
26
pkgs/tools/networking/speedtest-cli/default.nix
Normal file
26
pkgs/tools/networking/speedtest-cli/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue