charliecloud: 0.12 -> 0.18
This commit is contained in:
parent
156fe85c5f
commit
d909bb5418
@ -1,22 +1,24 @@
|
|||||||
{ stdenv, fetchFromGitHub, python }:
|
{ stdenv, fetchFromGitHub, python, autoconf, automake, docker, buildah }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "0.12";
|
version = "0.18";
|
||||||
pname = "charliecloud";
|
pname = "charliecloud";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hpc";
|
owner = "hpc";
|
||||||
repo = "charliecloud";
|
repo = "charliecloud";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "177rcf1klcxsp6x9cw75cmz3y2izgd1hvi1rb9vc6iz9qx1nmk3v";
|
sha256 = "0x2kvp95ld0yii93z9i0k9sknfx7jkgy4rkw9l369fl7f73ghsiq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python ];
|
nativeBuildInputs = [ autoconf automake ];
|
||||||
|
buildInputs = [ python docker buildah ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace Makefile --replace '/bin/bash' '${stdenv.shell}'
|
|
||||||
patchShebangs test/
|
patchShebangs test/
|
||||||
|
patchShebangs autogen.sh
|
||||||
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
@ -24,12 +26,6 @@ stdenv.mkDerivation rec {
|
|||||||
"LIBEXEC_DIR=lib/charliecloud"
|
"LIBEXEC_DIR=lib/charliecloud"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
mkdir -p $out/share/charliecloud
|
|
||||||
mv $out/lib/charliecloud/examples $out/share/charliecloud
|
|
||||||
mv $out/lib/charliecloud/test $out/share/charliecloud
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "User-defined software stacks (UDSS) for high-performance computing (HPC) centers";
|
description = "User-defined software stacks (UDSS) for high-performance computing (HPC) centers";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user