nixpkgs/pkgs/tools/networking/iperf/3.nix

23 lines
552 B
Nix
Raw Normal View History

2014-10-04 17:23:00 -07:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2017-04-09 11:44:19 -07:00
name = "iperf-3.1.7";
2014-10-04 17:23:00 -07:00
src = fetchurl {
url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
2017-04-09 11:44:19 -07:00
sha256 = "0kvk8d0a3dcxc8fisyprbn01y8akxj4sx8ld5dh508p9dx077vx4";
2014-10-04 17:23:00 -07: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 12:05:06 -07:00
maintainers = with maintainers; [ wkennington fpletz ];
2014-10-04 17:23:00 -07:00
};
}