diff --git a/pkgs/tools/networking/iperf/default.nix b/pkgs/tools/networking/iperf/default.nix new file mode 100644 index 000000000000..e799e5118f9e --- /dev/null +++ b/pkgs/tools/networking/iperf/default.nix @@ -0,0 +1,17 @@ +args: with args; +stdenv.mkDerivation { + name = "iperf-2.0.4"; + + src = args.fetchurl { + url = http://garr.dl.sourceforge.net/sourceforge/iperf/iperf-2.0.4.tar.gz; + sha256 = "0i3r75prbyxs56rngjbrag8rg480ki3daaa924krrafng30z2liv"; + }; + +#buildInputs =(with args; []); + + meta = { + homepage = ""; + description = "tool to measure IP bandwidth using UDP or TCP"; + license = "as-is"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0acf34267e43..ea484b7da88c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -844,6 +844,10 @@ let inherit stdenv fetchurl zlib nettools; }; + iperf = import ../tools/networking/iperf { + inherit fetchurl stdenv; + }; + jdiskreport = import ../tools/misc/jdiskreport { inherit fetchurl stdenv unzip jdk; };