2020-07-01 19:40:20 +01:00
|
|
|
{ stdenv, fetchFromGitHub, perl, autoconf, automake
|
2020-11-08 12:44:32 +00:00
|
|
|
, libtool, flex, libevent, hwloc, munge, zlib, pandoc
|
2020-07-01 19:40:20 +01:00
|
|
|
} :
|
|
|
|
|
|
|
|
let
|
2020-12-10 23:33:03 +00:00
|
|
|
version = "3.2.2";
|
2020-07-01 19:40:20 +01:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
pname = "pmix";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "openpmix";
|
|
|
|
owner = "openpmix";
|
|
|
|
rev = "v${version}";
|
2020-12-10 23:33:03 +00:00
|
|
|
sha256 = "1rf82z7h76366qknkmralmslsfmihv0r3ymhbgk1axq97ic3g4d7";
|
2020-07-01 19:40:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs ./autogen.pl
|
|
|
|
patchShebangs ./config
|
|
|
|
'';
|
|
|
|
|
2020-11-08 12:44:32 +00:00
|
|
|
nativeBuildInputs = [ pandoc perl autoconf automake libtool flex ];
|
2020-07-01 19:40:20 +01:00
|
|
|
|
|
|
|
buildInputs = [ libevent hwloc munge zlib ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-libevent=${libevent.dev}"
|
|
|
|
"--with-munge=${munge}"
|
|
|
|
"--with-hwloc=${hwloc.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.pl
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Process Management Interface for HPC environments";
|
|
|
|
homepage = "https://openpmix.github.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|