commit
53d4649ddc
@ -94,6 +94,7 @@
|
|||||||
bramd = "Bram Duvigneau <bram@bramd.nl>";
|
bramd = "Bram Duvigneau <bram@bramd.nl>";
|
||||||
bstrik = "Berno Strik <dutchman55@gmx.com>";
|
bstrik = "Berno Strik <dutchman55@gmx.com>";
|
||||||
bzizou = "Bruno Bzeznik <Bruno@bzizou.net>";
|
bzizou = "Bruno Bzeznik <Bruno@bzizou.net>";
|
||||||
|
c0bw3b = "Renaud <c0bw3b@gmail.com>";
|
||||||
c0dehero = "CodeHero <codehero@nerdpol.ch>";
|
c0dehero = "CodeHero <codehero@nerdpol.ch>";
|
||||||
calbrecht = "Christian Albrecht <christian.albrecht@mayflower.de>";
|
calbrecht = "Christian Albrecht <christian.albrecht@mayflower.de>";
|
||||||
calrama = "Moritz Maxeiner <moritz@ucworks.org>";
|
calrama = "Moritz Maxeiner <moritz@ucworks.org>";
|
||||||
|
@ -3,29 +3,31 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nsjail-${version}";
|
name = "nsjail-${version}";
|
||||||
version = "2.1";
|
version = "2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "nsjail";
|
repo = "nsjail";
|
||||||
rev = version;
|
rev = version;
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "1wkhy86d0vgzngdvv593yhcghjh63chb8s67v891zll6bwgwg5h2";
|
sha256 = "11323j5wd02nm8ibvzbzq7dla70bmcldc71lv5bpk4x7h64ai14v";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf libtool pkgconfig ];
|
nativeBuildInputs = [ autoconf libtool pkgconfig ];
|
||||||
buildInputs = [ bison flex libnl protobuf protobufc ];
|
buildInputs = [ bison flex libnl protobuf protobufc ];
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
cp nsjail $out/bin
|
install nsjail $out/bin/
|
||||||
|
install nsjail.1 $out/share/man/man1/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A light-weight process isolation tool, making use of Linux namespaces and seccomp-bpf syscall filters";
|
description = "A light-weight process isolation tool, making use of Linux namespaces and seccomp-bpf syscall filters";
|
||||||
homepage = http://nsjail.com/;
|
homepage = http://nsjail.com/;
|
||||||
license = licenses.apsl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.bosu ];
|
maintainers = with maintainers; [ bosu c0bw3b ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user