2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libpsm2 }:
|
2020-04-28 16:52:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfabric";
|
2020-10-25 18:25:51 +01:00
|
|
|
version = "1.11.1";
|
2020-04-28 16:52:56 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ofiwg";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-25 18:25:51 +01:00
|
|
|
sha256 = "17qq96mlfhbkbmsvbazhxzkjnh6x37xlh3r0ngp0rfqbl05z2pcr";
|
2020-04-28 16:52:56 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ] ;
|
2020-04-28 16:52:56 +02:00
|
|
|
|
|
|
|
buildInputs = [ libpsm2 ] ;
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-psm2=${libpsm2}" ] ;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-28 16:52:56 +02:00
|
|
|
homepage = "http://libfabric.org/";
|
|
|
|
description = "Open Fabric Interfaces";
|
|
|
|
license = with licenses; [ gpl2 bsd2 ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
};
|
|
|
|
}
|