diff options
author | Boris Sukholitko <boriss@gmail.com> | 2015-08-10 20:34:09 +0300 |
---|---|---|
committer | Boris Sukholitko <boriss@gmail.com> | 2015-08-10 22:27:15 +0300 |
commit | c2f5d1abed7429c0ba321522e0e71bb8bc676ebe (patch) | |
tree | 27c6aeadc61769863a52142e88b6dcdbfd1970e9 /pkgs/tools/security/nsjail | |
parent | 4af085c4d2152fb4469ffed5b12ff5f9a9aea296 (diff) |
nsjail: init at 8b951e6
Diffstat (limited to 'pkgs/tools/security/nsjail')
-rw-r--r-- | pkgs/tools/security/nsjail/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/security/nsjail/default.nix b/pkgs/tools/security/nsjail/default.nix new file mode 100644 index 0000000000000..f2ec3af139faf --- /dev/null +++ b/pkgs/tools/security/nsjail/default.nix @@ -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; + }; +} |