mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
qperf: init at 0.4.11
This commit is contained in:
parent
a72e138b78
commit
00fd643248
43
pkgs/os-specific/linux/qperf/default.nix
Normal file
43
pkgs/os-specific/linux/qperf/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ stdenv, lib
|
||||
, fetchFromGitHub, fetchpatch
|
||||
, autoconf, automake, perl, rdma-core }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qperf";
|
||||
version = "0.4.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linux-rdma";
|
||||
repo = "qperf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-x9l8xqwMDHlXRZpWt3XiqN5xyCTV5rk8jp/ClRPPECI=";
|
||||
};
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
name = "version-bump.patch";
|
||||
url = "https://github.com/linux-rdma/qperf/commit/34ec57ddb7e5ae1adfcfc8093065dff90b69a275.patch";
|
||||
hash = "sha256-+7ckhUUB+7BG6qRKv0wgyIxkyvll2xjf3Wk1hpRsDo0=";
|
||||
}) ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake perl rdma-core ];
|
||||
buildInputs = [ rdma-core ];
|
||||
|
||||
postUnpack = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
./autogen.sh
|
||||
./configure --prefix=$out
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Measure RDMA and IP performance";
|
||||
homepage = "https://github.com/linux-rdma/qperf";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
};
|
||||
}
|
@ -36465,6 +36465,8 @@ with pkgs;
|
||||
|
||||
qdl = callPackage ../tools/misc/qdl { };
|
||||
|
||||
qperf = callPackage ../os-specific/linux/qperf { };
|
||||
|
||||
rates = callPackage ../tools/misc/rates {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user