nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Package request: perftest

Open xjn819 opened this issue 2 years ago • 1 comments

Project description

Infiniband Verbs Performance Tests

Metadata

  • homepage URL:https://github.com/linux-rdma/perftest
  • source URL:https://github.com/linux-rdma/perftest
  • license: gpl2+
  • platforms: linux, bsd

xjn819 avatar Apr 30 '23 21:04 xjn819

{ stdenv, fetchFromGitHub, libtool, automake, autoconf, rdma-core, pciutils, ... }:
stdenv.mkDerivation rec {
  pname = "perftest";
  version = "24.04.0-0.41";

  src = fetchFromGitHub {
    owner = "linux-rdma";
    repo = "${pname}";
    rev = "${version}";
    hash = "sha256-azhB8BDtEpPxOPSTW+iOLF2IQbTgUgIjYWdv987dhvc=";
  };

  nativeBuildInputs = [
    libtool
    automake
    autoconf
  ];

  buildInputs = [
    rdma-core.dev
    pciutils
  ];

  configurePhase = ''
    ./autogen.sh
    ./configure --prefix $out
  '';

  # buildPhase = "make";
  # installPhase = "make install";
}

VergeDX avatar May 14 '24 03:05 VergeDX