libfabric: meta.platforms = lib.platforms.all and 1.13.0 -> 1.13.1 (#138780)

This commit is contained in:
Shamrock Lee 2021-09-22 03:06:24 +08:00 committed by GitHub
parent 1324c330f9
commit c95fcfc6b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 30 deletions

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libpsm2
, enablePsm2 ? (stdenv.isx86_64 && stdenv.isLinux) }:
stdenv.mkDerivation rec {
pname = "libfabric";
version = "1.13.1";
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "ofiwg";
repo = pname;
rev = "v${version}";
sha256 = "0USQMBXZrbz4GtXLNsSti9ohUOqqo0OCtVz+0Uk9ndI=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = lib.optional enablePsm2 libpsm2;
configureFlags = [ (if enablePsm2 then "--enable-psm2=${libpsm2}" else "--disable-psm2") ];
meta = with lib; {
homepage = "https://ofiwg.github.io/libfabric/";
description = "Open Fabric Interfaces";
license = with licenses; [ gpl2 bsd2 ];
platforms = platforms.all;
maintainers = [ maintainers.bzizou ];
};
}

View file

@ -1,29 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libpsm2 }:
stdenv.mkDerivation rec {
pname = "libfabric";
version = "1.13.0";
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "ofiwg";
repo = pname;
rev = "v${version}";
sha256 = "sha256-felGKpdihOi4TCp95T1ti7fErQVphP0vYGRKEwlQt4Q=";
};
nativeBuildInputs = [ pkg-config 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 ];
};
}

View file

@ -17061,7 +17061,7 @@ with pkgs;
libf2c = callPackage ../development/libraries/libf2c {};
libfabric = callPackage ../os-specific/linux/libfabric {};
libfabric = callPackage ../development/libraries/libfabric {};
libfive = libsForQt5.callPackage ../development/libraries/libfive { };