nixpkgs/pkgs/tools/networking/iperf/3.nix
William A. Kennington III 1e15b88986 iperf: 3.0.10 -> 3.0.11
2015-02-06 12:53:10 -08:00

22 lines
546 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "iperf-3.0.11";
src = fetchurl {
url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
sha256 = "0vkzx7yxhah49l83jb5r3y4zzfdqypj5y2b3fjc7rxj7dyzba7g0";
};
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 ];
};
}