1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/applications/networking/netperf/default.nix

31 lines
910 B
Nix
Raw Normal View History

{ libsmbios, stdenv, autoreconfHook, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "netperf-${version}";
version = "20180613";
2017-11-14 00:32:17 +00:00
src = fetchFromGitHub {
owner = "HewlettPackard";
repo = "netperf";
rev = "bcb868bde7f0203bbab69609f65d4088ba7398db";
sha256 = "1wbbgdvhadd3qs3afv6i777argdpcyxkwz4yv6aqp223n8ki6dm8";
};
buildInputs = stdenv.lib.optional (stdenv.hostPlatform.isx86) libsmbios;
nativeBuildInputs = [ autoreconfHook ];
autoreconfPhase = ''
autoreconf -i -I src/missing/m4
'';
configureFlags = [ "--enable-demo" ];
enableParallelBuilding = true;
2012-08-10 10:56:22 +01:00
meta = {
description = "Benchmark to measure the performance of many different types of networking";
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;
maintainers = [ stdenv.lib.maintainers.mmlb ];
2012-08-10 10:56:22 +01:00
};
}