nixpkgs/pkgs/development/libraries/pmix/default.nix

46 lines
1,012 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, perl, autoconf, automake
2020-11-08 13:44:32 +01:00
, libtool, flex, libevent, hwloc, munge, zlib, pandoc
2020-07-01 20:40:20 +02:00
} :
2021-07-17 20:37:27 +02:00
stdenv.mkDerivation rec {
2020-07-01 20:40:20 +02:00
pname = "pmix";
2021-07-17 20:37:27 +02:00
version = "3.2.3";
2020-07-01 20:40:20 +02:00
src = fetchFromGitHub {
repo = "openpmix";
owner = "openpmix";
rev = "v${version}";
2021-02-14 07:24:15 +01:00
sha256 = "sha256-w3j4zgEAn6RxIHAvy0B3MPFTV46ocCvc0Z36tN1T+rc=";
2020-07-01 20:40:20 +02:00
};
postPatch = ''
patchShebangs ./autogen.pl
patchShebangs ./config
'';
2020-11-08 13:44:32 +01:00
nativeBuildInputs = [ pandoc perl autoconf automake libtool flex ];
2020-07-01 20:40:20 +02: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 lib; {
2020-07-01 20:40:20 +02:00
description = "Process Management Interface for HPC environments";
homepage = "https://openpmix.github.io/";
license = licenses.bsd3;
maintainers = [ maintainers.markuskowa ];
platforms = platforms.linux;
};
}