1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/libfabric/default.nix

30 lines
715 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libpsm2 }:
2020-04-28 15:52:56 +01:00
stdenv.mkDerivation rec {
pname = "libfabric";
2021-04-04 22:37:05 +01:00
version = "1.12.1";
2020-04-28 15:52:56 +01:00
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "ofiwg";
repo = pname;
rev = "v${version}";
2021-04-04 22:37:05 +01:00
sha256 = "sha256-J2PoDwjPWYpagX4M2k9E1xitBzgRUZzwX9Gf00H+Tdc=";
2020-04-28 15:52:56 +01:00
};
nativeBuildInputs = [ pkg-config autoreconfHook ] ;
2020-04-28 15:52:56 +01:00
buildInputs = [ libpsm2 ] ;
configureFlags = [ "--enable-psm2=${libpsm2}" ] ;
meta = with lib; {
2020-04-28 15:52:56 +01:00
homepage = "http://libfabric.org/";
description = "Open Fabric Interfaces";
license = with licenses; [ gpl2 bsd2 ];
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.bzizou ];
};
}