pmix: 3.2.4 -> 5.0.1
This commit is contained in:
parent
1c5f7eabee
commit
2f479ac1f8
@ -1,16 +1,17 @@
|
||||
{ lib, stdenv, fetchFromGitHub, perl, autoconf, automake
|
||||
, libtool, flex, libevent, hwloc, munge, zlib, pandoc
|
||||
, libtool, python3, flex, libevent, hwloc, munge, zlib, pandoc, gitMinimal
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pmix";
|
||||
version = "3.2.4";
|
||||
version = "5.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "openpmix";
|
||||
owner = "openpmix";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-79zTZm549VRsqeziCuBT6l4jTJ6D/gZaMAvgHZm7jn4=";
|
||||
hash = "sha256-ZuuzQ8j5zqQ/9mBFEODAaoX9/doWB9Nt9Sl75JkJyqU=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -18,14 +19,25 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs ./config
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pandoc perl autoconf automake libtool flex ];
|
||||
nativeBuildInputs = [
|
||||
pandoc
|
||||
perl
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
flex
|
||||
gitMinimal
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [ libevent hwloc munge zlib ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-libevent=${lib.getDev libevent}"
|
||||
"--with-libevent-libdir=${lib.getLib libevent}/lib"
|
||||
"--with-munge=${munge}"
|
||||
"--with-hwloc=${lib.getDev hwloc}"
|
||||
"--with-hwloc-libdir=${lib.getLib hwloc}/lib"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user