2015-08-10 19:34:09 +02:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nsjail-git-2015-08-10";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/google/nsjail;
|
|
|
|
rev = "8b951e6c2827386786cde4a124cd1846d25b9404";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "02bmwd48l6ngp0nc65flw395mpj66brx3808d5xd19qn5524lnni";
|
2015-08-10 19:34:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp nsjail $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''
|
|
|
|
A light-weight process isolation tool, making use of Linux namespaces
|
|
|
|
and seccomp-bpf syscall filters
|
|
|
|
'';
|
|
|
|
homepage = http://google.github.io/nsjail;
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.apsl20;
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bosu ];
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|