From 8fa77b44cb2e697740338875a764cf82bf5ff4b0 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Mon, 16 Mar 2009 18:39:04 +0000 Subject: [PATCH] added iperf (a tool to measure network bandwidth) svn path=/nixpkgs/trunk/; revision=14564 --- pkgs/tools/networking/iperf/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/tools/networking/iperf/default.nix 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; };