about summary refs log tree commit diff
path: root/pkgs/tools/security/nsjail
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2022-12-10 11:23:41 -0800
committerGitHub <noreply@github.com>2022-12-10 20:23:41 +0100
commitccf0f09e2e6744dcd721860a44c633e8708fde2b (patch)
tree733fe3e4f35d21e7b997e89c6071c28b7b5cc417 /pkgs/tools/security/nsjail
parente7bc7031ef390740d03aa5a93e8bc3659abcaa00 (diff)
nsjail: 3.2 -> 3.3
* nsjail: 3.2 -> 3.3 (#205507)

* nsjail: update homepage for v3.3

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/security/nsjail')
-rw-r--r--pkgs/tools/security/nsjail/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/security/nsjail/default.nix b/pkgs/tools/security/nsjail/default.nix
index 59f7a6667068e..b2e17cae6b68e 100644
--- a/pkgs/tools/security/nsjail/default.nix
+++ b/pkgs/tools/security/nsjail/default.nix
@@ -4,17 +4,17 @@
 
 stdenv.mkDerivation rec {
   pname = "nsjail";
-  version = "3.2";
+  version = "3.3";
 
   src = fetchFromGitHub {
     owner           = "google";
     repo            = "nsjail";
     rev             = version;
     fetchSubmodules = true;
-    sha256          = "sha256-SFRnCEPawMKEIdmrOnJ45IIb17W1d4qCceuRdWTDTQU=";
+    hash            = "sha256-L5x3rUDd1nXxDjoP/ZErQa02w2MJSkMBlgu00cy1D3M=";
   };
 
-  nativeBuildInputs = [ autoconf bison flex libtool pkg-config which installShellFiles ];
+  nativeBuildInputs = [ autoconf bison flex installShellFiles libtool pkg-config which ];
   buildInputs = [ libnl protobuf protobufc ];
   enableParallelBuilding = true;
 
@@ -23,13 +23,15 @@ stdenv.mkDerivation rec {
   '';
 
   installPhase = ''
+    runHook preInstallPhase
     install -Dm755 nsjail "$out/bin/nsjail"
     installManPage nsjail.1
+    runHook postInstallPhase
   '';
 
   meta = with lib; {
     description = "A light-weight process isolation tool, making use of Linux namespaces and seccomp-bpf syscall filters";
-    homepage    = "http://nsjail.com/";
+    homepage    = "https://nsjail.dev/";
     license     = licenses.asl20;
     maintainers = with maintainers; [ arturcygan bosu c0bw3b ];
     platforms   = platforms.linux;