forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
109 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ lib | ||
, stdenv | ||
, fetchFromGitHub | ||
, autoconf | ||
, automake | ||
, libtool | ||
, gitMinimal | ||
, perl | ||
, python3 | ||
, flex | ||
, hwloc | ||
, libevent | ||
, zlib | ||
, pmix | ||
, | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "prrte"; | ||
version = "3.0.3"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "openpmix"; | ||
repo = "prrte"; | ||
rev = "v${version}"; | ||
sha256 = "sha256-WjK26jbte1iYngEfjVfwGXIMhU5aDhmWwUl/fYPrmfw="; | ||
fetchSubmodules = true; | ||
}; | ||
|
||
postPatch = '' | ||
patchShebangs ./autogen.pl | ||
patchShebangs ./config | ||
''; | ||
|
||
preConfigure = '' | ||
./autogen.pl | ||
''; | ||
|
||
nativeBuildInputs = [ perl python3 autoconf automake libtool flex gitMinimal ]; | ||
|
||
buildInputs = [ libevent hwloc zlib pmix ]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
meta = with lib; { | ||
description = "PMIx Reference Runtime Environment"; | ||
homepage = "https://docs.prrte.org/"; | ||
license = licenses.bsd3; | ||
maintainers = [ maintainers.markuskowa ]; | ||
platforms = platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters