mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
charliecloud: init at 0.9.8
This commit is contained in:
parent
d73f16d676
commit
8a298f8d5a
48
pkgs/applications/virtualization/charliecloud/default.nix
Normal file
48
pkgs/applications/virtualization/charliecloud/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ stdenv, fetchFromGitHub, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "0.9.8";
|
||||
pname = "charliecloud";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hpc";
|
||||
repo = "charliecloud";
|
||||
rev = "v${version}";
|
||||
sha256 = "1w1wy4sj9zqfysrpf04shhppcf5ap4rp7i3ja81sv2fm27k4m9nl";
|
||||
};
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile --replace '/bin/bash' '${stdenv.shell}'
|
||||
patchShebangs test/
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"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 = {
|
||||
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.
|
||||
'';
|
||||
homepage = https://hpc.github.io/charliecloud;
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = [ stdenv.lib.maintainers.bzizou ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
||||
}
|
@ -1175,6 +1175,8 @@ in
|
||||
|
||||
cfdyndns = callPackage ../applications/networking/dyndns/cfdyndns { };
|
||||
|
||||
charliecloud = callPackage ../applications/virtualization/charliecloud { };
|
||||
|
||||
chelf = callPackage ../tools/misc/chelf { };
|
||||
|
||||
cht-sh = callPackage ../tools/misc/cht.sh { };
|
||||
|
Loading…
Reference in New Issue
Block a user