aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/iperf
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
commit66097104090e06c43a784193809bc8843a2ec052 (patch)
tree021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/tools/networking/iperf
parentb4a3f99c7812a6c8bc34979200693b7010afffcc (diff)
* Get rid of many instances of "args: with args;", and other coding
guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782
Diffstat (limited to 'pkgs/tools/networking/iperf')
-rw-r--r--pkgs/tools/networking/iperf/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/networking/iperf/default.nix b/pkgs/tools/networking/iperf/default.nix
index e799e5118f9..1cb984e3d1c 100644
--- a/pkgs/tools/networking/iperf/default.nix
+++ b/pkgs/tools/networking/iperf/default.nix
@@ -1,14 +1,13 @@
-args: with args;
+{ stdenv, fetchurl }:
+
stdenv.mkDerivation {
name = "iperf-2.0.4";
- src = args.fetchurl {
+ src = 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";