2021-01-21 17:00:13 +00:00
|
|
|
{ lib, 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
|
2021-02-14 06:24:15 +00:00
|
|
|
version = "3.2.3";
|
2020-07-01 19:40:20 +01:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
pname = "pmix";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "openpmix";
|
|
|
|
owner = "openpmix";
|
|
|
|
rev = "v${version}";
|
2021-02-14 06:24:15 +00:00
|
|
|
sha256 = "sha256-w3j4zgEAn6RxIHAvy0B3MPFTV46ocCvc0Z36tN1T+rc=";
|
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;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-07-01 19:40:20 +01:00
|
|
|
description = "Process Management Interface for HPC environments";
|
|
|
|
homepage = "https://openpmix.github.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|