2014-10-05 02:23:00 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-06-30 14:25:46 +02:00
|
|
|
name = "iperf-3.2";
|
2014-10-05 02:23:00 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
|
2017-06-30 14:25:46 +02:00
|
|
|
sha256 = "07cwrl9q5pmfjlh6ilpk7hm25lpkcaf917zhpmfq918lhrpv61zj";
|
2014-10-05 02:23:00 +02: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 21:05:06 +02:00
|
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
2014-10-05 02:23:00 +02:00
|
|
|
};
|
|
|
|
}
|