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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
898 B
Nix
Raw Normal View History

2021-01-15 06:42:41 +01:00
{ libsmbios, lib, stdenv, autoreconfHook, fetchFromGitHub }:
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
pname = "netperf";
version = "20180613";
2017-11-14 01:32:17 +01:00
src = fetchFromGitHub {
owner = "HewlettPackard";
repo = "netperf";
rev = "bcb868bde7f0203bbab69609f65d4088ba7398db";
sha256 = "1wbbgdvhadd3qs3afv6i777argdpcyxkwz4yv6aqp223n8ki6dm8";
};
2021-01-15 06:42:41 +01:00
buildInputs = lib.optional (with stdenv.hostPlatform; isx86 && isLinux) 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";
2021-01-15 06:42:41 +01:00
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.mmlb ];
2012-08-10 11:56:22 +02:00
};
}