7 stdenv.mkDerivation rec {
12 url = "mirror://sourceforge/iperf2/files/${pname}-${version}.tar.gz";
13 sha256 = "1yflnj2ni988nm0p158q8lnkiq2gn2chmvsglyn2gqmqhwp3jaq6";
16 hardeningDisable = [ "format" ];
17 configureFlags = [ "--enable-fastsampling" ];
19 makeFlags = [ "AR:=$(AR)" ];
22 mv $out/bin/iperf $out/bin/iperf2
23 ln -s $out/bin/iperf2 $out/bin/iperf
27 homepage = "https://sourceforge.net/projects/iperf/";
28 description = "Tool to measure IP bandwidth using UDP or TCP";
29 platforms = platforms.unix;
30 license = licenses.mit;