2014-10-05 01:23:00 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-06 20:52:46 +00:00
|
|
|
name = "iperf-3.0.11";
|
2014-10-05 01:23:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
|
2015-02-06 20:52:46 +00:00
|
|
|
sha256 = "0vkzx7yxhah49l83jb5r3y4zzfdqypj5y2b3fjc7rxj7dyzba7g0";
|
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";
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|