sockperf: init at 3.7

This commit is contained in:
Angus Trau 2021-07-25 15:44:35 +10:00
parent 2129356a64
commit 319c186f95
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
, enableTool ? false
, enableTest ? false }:
stdenv.mkDerivation rec {
pname = "sockperf";
version = "3.7";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "sockperf";
rev = version;
sha256 = "MtpV21lCEAv7ARxk0dAxoOxxlqDM+skdQnPlqOvksjw=";
};
nativeBuildInputs = [ autoreconfHook doxygen ];
configureFlags = [ "--enable-doc" ]
++ lib.optional enableTest "--enable-test"
++ lib.optional enableTool "--enable-tool";
doCheck = true;
meta = with lib; {
description = "Network Benchmarking Utility";
homepage = "https://github.com/Mellanox/sockperf";
license = licenses.bsd3;
maintainers = with maintainers; [ angustrau ];
platforms = platforms.all;
};
}

View File

@ -8992,6 +8992,8 @@ in
socat2pre = lowPrio (callPackage ../tools/networking/socat/2.x.nix { });
sockperf = callPackage ../tools/networking/sockperf { };
solaar = callPackage ../applications/misc/solaar {};
solanum = callPackage ../servers/irc/solanum {