depot/third_party/nixpkgs/pkgs/os-specific/linux/libfabric/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

29 lines
714 B
Nix

{ lib, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, libpsm2 }:
stdenv.mkDerivation rec {
pname = "libfabric";
version = "1.11.1";
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "ofiwg";
repo = pname;
rev = "v${version}";
sha256 = "17qq96mlfhbkbmsvbazhxzkjnh6x37xlh3r0ngp0rfqbl05z2pcr";
};
nativeBuildInputs = [ pkgconfig 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 ];
};
}