ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
29 lines
715 B
Nix
29 lines
715 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libpsm2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libfabric";
|
|
version = "1.11.2";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ofiwg";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Xy7A1hjz4O13bMZ0RbOuxEzVkVW5+WKC+MOH5rcGzH0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ] ;
|
|
|
|
buildInputs = [ libpsm2 ] ;
|
|
|
|
configureFlags = [ "--enable-psm2=${libpsm2}" ] ;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://libfabric.org/";
|
|
description = "Open Fabric Interfaces";
|
|
license = with licenses; [ gpl2 bsd2 ];
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = [ maintainers.bzizou ];
|
|
};
|
|
}
|