2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libpsm2 }:
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfabric";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "1.11.2";
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ofiwg";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-Xy7A1hjz4O13bMZ0RbOuxEzVkVW5+WKC+MOH5rcGzH0=";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ] ;
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
buildInputs = [ libpsm2 ] ;
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-psm2=${libpsm2}" ] ;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
homepage = "http://libfabric.org/";
|
|
|
|
description = "Open Fabric Interfaces";
|
|
|
|
license = with licenses; [ gpl2 bsd2 ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
};
|
|
|
|
}
|