mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #137643 from delroth/ntttcp-1.4.0
ntttcp: init at 1.4.0
This commit is contained in:
commit
cbb9567392
30
pkgs/tools/networking/ntttcp/default.nix
Normal file
30
pkgs/tools/networking/ntttcp/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -7695,6 +7695,8 @@ with pkgs;
|
||||
|
||||
nttcp = callPackage ../tools/networking/nttcp { };
|
||||
|
||||
ntttcp = callPackage ../tools/networking/ntttcp { };
|
||||
|
||||
nuttcp = callPackage ../tools/networking/nuttcp { };
|
||||
|
||||
nssmdns = callPackage ../tools/networking/nss-mdns { };
|
||||
|
Loading…
Reference in New Issue
Block a user