qperf: init at 0.4.11

+45
+43
pkgs/os-specific/linux/qperf/default.nix
··· 1 + { stdenv, lib 2 + , fetchFromGitHub, fetchpatch 3 + , autoconf, automake, perl, rdma-core }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "qperf"; 7 + version = "0.4.11"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "linux-rdma"; 11 + repo = "qperf"; 12 + rev = "v${version}"; 13 + hash = "sha256-x9l8xqwMDHlXRZpWt3XiqN5xyCTV5rk8jp/ClRPPECI="; 14 + }; 15 + 16 + patches = [ (fetchpatch { 17 + name = "version-bump.patch"; 18 + url = "https://github.com/linux-rdma/qperf/commit/34ec57ddb7e5ae1adfcfc8093065dff90b69a275.patch"; 19 + hash = "sha256-+7ckhUUB+7BG6qRKv0wgyIxkyvll2xjf3Wk1hpRsDo0="; 20 + }) ]; 21 + 22 + nativeBuildInputs = [ autoconf automake perl rdma-core ]; 23 + buildInputs = [ rdma-core ]; 24 + 25 + postUnpack = '' 26 + patchShebangs . 27 + ''; 28 + 29 + configurePhase = '' 30 + runHook preConfigure 31 + ./autogen.sh 32 + ./configure --prefix=$out 33 + runHook postConfigure 34 + ''; 35 + 36 + meta = with lib; { 37 + description = "Measure RDMA and IP performance"; 38 + homepage = "https://github.com/linux-rdma/qperf"; 39 + license = licenses.gpl2Only; 40 + platforms = platforms.linux; 41 + maintainers = with maintainers; [ edwtjo ]; 42 + }; 43 + }
+2
pkgs/top-level/all-packages.nix
··· 36465 36465 36466 36466 qdl = callPackage ../tools/misc/qdl { }; 36467 36467 36468 + qperf = callPackage ../os-specific/linux/qperf { }; 36469 + 36468 36470 rates = callPackage ../tools/misc/rates { 36469 36471 inherit (darwin.apple_sdk.frameworks) Security; 36470 36472 };