mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
iperf: Add major version 3
This commit is contained in:
parent
ce61353a9f
commit
9e5825ba8e
3 changed files with 25 additions and 1 deletions
22
pkgs/tools/networking/iperf/3.nix
Normal file
22
pkgs/tools/networking/iperf/3.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "iperf-3.0.8";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
|
||||||
|
sha256 = "81b8d91159862896c57f9b90a006e8b5dc22bd94175d97bd0db50b0ae2c1a78e";
|
||||||
|
};
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
ln -s iperf3 $out/bin/iperf
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://software.es.net/iperf/;
|
||||||
|
description = "Tool to measure IP bandwidth using UDP or TCP";
|
||||||
|
platforms = platforms.unix;
|
||||||
|
license = "as-is";
|
||||||
|
maintainers = with maintainers; [ wkennington ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1433,7 +1433,9 @@ let
|
||||||
|
|
||||||
iodine = callPackage ../tools/networking/iodine { };
|
iodine = callPackage ../tools/networking/iodine { };
|
||||||
|
|
||||||
iperf = callPackage ../tools/networking/iperf { };
|
iperf2 = callPackage ../tools/networking/iperf/2.nix { };
|
||||||
|
iperf3 = callPackage ../tools/networking/iperf/3.nix { };
|
||||||
|
iperf = iperf3;
|
||||||
|
|
||||||
ipmitool = callPackage ../tools/system/ipmitool {
|
ipmitool = callPackage ../tools/system/ipmitool {
|
||||||
static = false;
|
static = false;
|
||||||
|
|
Loading…
Reference in a new issue