nixpkgs/pkgs/tools/networking/iperf/2.nix
Manuel Mendez 3bdd1156b8 iperf2: enable fastsampling config option
From ./configure --help

  --enable-fastsampling   enable support for 100 microsecond report intervals
2019-01-30 08:39:46 -05:00

21 lines
533 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "iperf-2.0.13";
src = fetchurl {
url = "mirror://sourceforge/iperf2/files/${name}.tar.gz";
sha256 = "1bbq6xr0vrd88zssfiadvw3awyn236yv94fsdl9q2sh9cv4xx2n8";
};
hardeningDisable = [ "format" ];
configureFlags = [ "--enable-fastsampling" ];
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/iperf/;
description = "Tool to measure IP bandwidth using UDP or TCP";
platforms = platforms.unix;
license = licenses.mit;
};
}