2017-11-05 23:52:13 +00:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
2014-10-05 01:23:00 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-11-05 23:52:13 +00:00
|
|
|
name = "iperf-3.3";
|
2014-10-05 01:23:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
|
2017-11-05 23:52:13 +00:00
|
|
|
sha256 = "1n442bjkm1dvzmcj8z1i99yrmba489yz3f5v27ybymhh4mqn4nbg";
|
2014-10-05 01:23:00 +01:00
|
|
|
};
|
|
|
|
|
2017-11-05 23:52:13 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2014-10-05 01:23:00 +01:00
|
|
|
postInstall = ''
|
|
|
|
ln -s iperf3 $out/bin/iperf
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://software.es.net/iperf/;
|
|
|
|
description = "Tool to measure IP bandwidth using UDP or TCP";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = "as-is";
|
2016-06-23 20:05:06 +01:00
|
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
2014-10-05 01:23:00 +01:00
|
|
|
};
|
|
|
|
}
|