1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/tools/security/nsjail/default.nix
2015-08-10 22:27:15 +03:00

31 lines
710 B
Nix

{ 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;
};
}