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