3
0
Fork 0
forked from mirrors/nixpkgs

nsjail: init at 8b951e6

This commit is contained in:
Boris Sukholitko 2015-08-10 20:34:09 +03:00
parent 4af085c4d2
commit c2f5d1abed
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "nsjail-git-2015-08-10";
src = fetchgit {
url = https://github.com/google/nsjail;
rev = "8b951e6c2827386786cde4a124cd1846d25b9404";
sha256 = "b3b863423cc676111d2d1afbac524eee6fa824588cafccb7c42ff470508a13b1";
};
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;
};
}

View file

@ -2417,6 +2417,8 @@ let
pythonPackages = python3Packages;
};
nsjail = callPackage ../tools/security/nsjail {};
nss_pam_ldapd = callPackage ../tools/networking/nss-pam-ldapd {};
ntfs3g = callPackage ../tools/filesystems/ntfs-3g { };