nsjail: git-2015-08-10 -> 2.1
This commit is contained in:
parent
794ecdd8b8
commit
5121b67b12
@ -1,30 +1,31 @@
|
|||||||
{ stdenv, fetchgit }:
|
{ stdenv, fetchFromGitHub, autoconf, pkgconfig, libtool
|
||||||
|
, bison, flex, libnl, protobuf, protobufc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nsjail-git-2015-08-10";
|
name = "nsjail-${version}";
|
||||||
|
version = "2.1";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = https://github.com/google/nsjail;
|
owner = "google";
|
||||||
rev = "8b951e6c2827386786cde4a124cd1846d25b9404";
|
repo = "nsjail";
|
||||||
sha256 = "02bmwd48l6ngp0nc65flw395mpj66brx3808d5xd19qn5524lnni";
|
rev = version;
|
||||||
|
fetchSubmodules = true;
|
||||||
|
sha256 = "1wkhy86d0vgzngdvv593yhcghjh63chb8s67v891zll6bwgwg5h2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoconf libtool pkgconfig ];
|
||||||
|
buildInputs = [ bison flex libnl protobuf protobufc ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp nsjail $out/bin
|
cp nsjail $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = ''
|
description = "A light-weight process isolation tool, making use of Linux namespaces and seccomp-bpf syscall filters";
|
||||||
A light-weight process isolation tool, making use of Linux namespaces
|
homepage = http://nsjail.com/;
|
||||||
and seccomp-bpf syscall filters
|
license = licenses.apsl20;
|
||||||
'';
|
maintainers = [ maintainers.bosu ];
|
||||||
homepage = http://google.github.io/nsjail;
|
platforms = platforms.linux;
|
||||||
|
|
||||||
license = stdenv.lib.licenses.apsl20;
|
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.bosu ];
|
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user