ntttcp: init at 1.4.0

This commit is contained in:
Pierre Bourdon 2021-09-13 13:56:04 +02:00
parent 93a56230db
commit 34d91e675b
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ntttcp";
version = "1.4.0";
src = fetchFromGitHub {
owner = "microsoft";
repo = "ntttcp-for-linux";
rev = version;
sha256 = "sha256-6O7qSrR6EFr7k9lHQHGs/scZxJJ5DBNDxlSL5hzlRf4=";
};
preBuild = "cd src";
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp ntttcp $out/bin
runHook postInstall
'';
meta = with lib; {
description = "A Linux network throughput multiple-thread benchmark tool";
homepage = "https://github.com/microsoft/ntttcp-for-linux";
license = licenses.mit;
maintainers = with maintainers; [ delroth ];
platforms = platforms.linux;
};
}

View file

@ -7683,6 +7683,8 @@ with pkgs;
nttcp = callPackage ../tools/networking/nttcp { };
ntttcp = callPackage ../tools/networking/ntttcp { };
nuttcp = callPackage ../tools/networking/nuttcp { };
nssmdns = callPackage ../tools/networking/nss-mdns { };