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

46 lines
1012 B
Nix
Raw Normal View History

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