netperf: cleanup
* netperf: fix build * maintainers: add myself * netperf: add myself as maintainer * netperf: update to current git master to get bugfixes * netperf: enable-demo mode * fixup! netperf: fix build * fixup! netperf: update to current git master to get bugfixes
This commit is contained in:
parent
6f8cfae6c9
commit
f245f537a8
|
@ -2491,6 +2491,11 @@
|
||||||
github = "mmahut";
|
github = "mmahut";
|
||||||
name = "Marek Mahut";
|
name = "Marek Mahut";
|
||||||
};
|
};
|
||||||
|
mmlb = {
|
||||||
|
email = "me.mmlb@mmlb.me";
|
||||||
|
github = "mmlb";
|
||||||
|
name = "Manuel Mendez";
|
||||||
|
};
|
||||||
moaxcp = {
|
moaxcp = {
|
||||||
email = "moaxcp@gmail.com";
|
email = "moaxcp@gmail.com";
|
||||||
github = "moaxcp";
|
github = "moaxcp";
|
||||||
|
|
|
@ -1,21 +1,29 @@
|
||||||
{ stdenv, fetchFromGitHub }:
|
{ libsmbios, stdenv, autoreconfHook, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "netperf-2.7.0";
|
name = "netperf-20180504";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "HewlettPackard";
|
owner = "HewlettPackard";
|
||||||
repo = "netperf";
|
repo = "netperf";
|
||||||
rev = name;
|
rev = "c0a0d9f31f9940abf375a41b43a343cdbf87caab";
|
||||||
sha256 = "034indn3hicwbvyzgw9f32bv2i7c5iv8b4a11imyn03pw97jzh10";
|
sha256 = "0wfj9kkhar6jb5639f5wxpwsraxw4v9yzg71rsdidvj5fyncjjq2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ libsmbios ];
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
autoreconfPhase = ''
|
||||||
|
autoreconf -i -I src/missing/m4
|
||||||
|
'';
|
||||||
|
configureFlags = [ "--enable-demo" ];
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Benchmark to measure the performance of many different types of networking";
|
description = "Benchmark to measure the performance of many different types of networking";
|
||||||
homepage = http://www.netperf.org/netperf/;
|
homepage = http://www.netperf.org/netperf/;
|
||||||
license = "Hewlett-Packard BSD-like license";
|
license = "Hewlett-Packard BSD-like license";
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = [];
|
maintainers = [ stdenv.lib.maintainers.mmlb ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue