nixpkgs/pkgs/applications/networking/netperf/default.nix

30 lines
840 B
Nix
Raw Normal View History

{ libsmbios, stdenv, autoreconfHook, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "netperf-20180504";
2017-11-14 01:32:17 +01:00
src = fetchFromGitHub {
owner = "HewlettPackard";
repo = "netperf";
rev = "c0a0d9f31f9940abf375a41b43a343cdbf87caab";
sha256 = "0wfj9kkhar6jb5639f5wxpwsraxw4v9yzg71rsdidvj5fyncjjq2";
};
buildInputs = [ libsmbios ];
nativeBuildInputs = [ autoreconfHook ];
autoreconfPhase = ''
autoreconf -i -I src/missing/m4
'';
configureFlags = [ "--enable-demo" ];
enableParallelBuilding = true;
2012-08-10 11:56:22 +02:00
meta = {
description = "Benchmark to measure the performance of many different types of networking";
homepage = http://www.netperf.org/netperf/;
2012-08-10 11:56:22 +02:00
license = "Hewlett-Packard BSD-like license";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.mmlb ];
2012-08-10 11:56:22 +02:00
};
}