mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
c46600d47b
This also fixes the build on clang 4
20 lines
485 B
Nix
20 lines
485 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "iperf-2.0.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/iperf2/files/${name}.tar.gz";
|
|
sha256 = "1gzh8dk2myqgxznxrryib4zsw23ffvx0s5j7sa780vk86lgr20nv";
|
|
};
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://sourceforge.net/projects/iperf/";
|
|
description = "Tool to measure IP bandwidth using UDP or TCP";
|
|
platforms = platforms.unix;
|
|
license = licenses.mit;
|
|
};
|
|
}
|