2020-08-21 07:06:48 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python, autoconf, automake, docker, buildah }:
|
2019-04-03 14:41:45 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2020-08-21 07:06:48 +01:00
|
|
|
version = "0.18";
|
2019-04-03 14:41:45 +01:00
|
|
|
pname = "charliecloud";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hpc";
|
|
|
|
repo = "charliecloud";
|
|
|
|
rev = "v${version}";
|
2020-08-21 07:06:48 +01:00
|
|
|
sha256 = "0x2kvp95ld0yii93z9i0k9sknfx7jkgy4rkw9l369fl7f73ghsiq";
|
2019-04-03 14:41:45 +01:00
|
|
|
};
|
|
|
|
|
2020-08-25 08:01:36 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2020-08-21 07:06:48 +01:00
|
|
|
buildInputs = [ python docker buildah ];
|
2019-04-03 14:41:45 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs test/
|
2020-08-21 07:06:48 +01:00
|
|
|
patchShebangs autogen.sh
|
|
|
|
./autogen.sh
|
2019-04-03 14:41:45 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"LIBEXEC_DIR=lib/charliecloud"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "User-defined software stacks (UDSS) for high-performance computing (HPC) centers";
|
|
|
|
longDescription = ''
|
|
|
|
Charliecloud uses Linux user namespaces to run containers with no
|
|
|
|
privileged operations or daemons and minimal configuration changes on
|
|
|
|
center resources. This simple approach avoids most security risks
|
|
|
|
while maintaining access to the performance and functionality already
|
|
|
|
on offer.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://hpc.github.io/charliecloud";
|
2019-04-03 14:41:45 +01:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bzizou ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|