nixpkgs/pkgs/tools/networking/iperf/3.nix
William A. Kennington III feabfa0cc2 iperf: 3.0.9 -> 3.0.10
2015-01-02 10:43:55 -08:00

23 lines
546 B
Nix

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