nixpkgs/pkgs/os-specific/linux/libfabric/default.nix

30 lines
716 B
Nix
Raw Normal View History

2020-04-28 16:52:56 +02:00
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, libpsm2 }:
stdenv.mkDerivation rec {
pname = "libfabric";
2020-05-19 12:17:10 +02:00
version = "1.10.1";
2020-04-28 16:52:56 +02:00
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "ofiwg";
repo = pname;
rev = "v${version}";
2020-05-19 12:17:10 +02:00
sha256 = "0nf5x4v9rhyd67r6f6q3dw4sraaja8jfdkhhg9g8x41czmx4d456";
2020-04-28 16:52:56 +02:00
};
nativeBuildInputs = [ pkgconfig autoreconfHook ] ;
buildInputs = [ libpsm2 ] ;
configureFlags = [ "--enable-psm2=${libpsm2}" ] ;
meta = with stdenv.lib; {
homepage = "http://libfabric.org/";
description = "Open Fabric Interfaces";
license = with licenses; [ gpl2 bsd2 ];
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.bzizou ];
};
}