about summary refs log tree commit diff
path: root/pkgs/applications/networking/ids
diff options
context:
space:
mode:
authorMikael Fangel <34864484+MikaelFangel@users.noreply.github.com>2023-10-18 20:40:28 +0200
committerMikael Fangel <34864484+MikaelFangel@users.noreply.github.com>2023-10-19 21:16:30 +0200
commit40edae805caa188ad5e9143b5cbdb4a141bba214 (patch)
treed9605f10d1b1f2c98ae1491445da97beb61ecbd2 /pkgs/applications/networking/ids
parentbda90b865005f2a2a1660124c3e75960a2f0096b (diff)
zeek: fix zeekctl, zkg module
Diffstat (limited to 'pkgs/applications/networking/ids')
-rw-r--r--pkgs/applications/networking/ids/zeek/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/ids/zeek/default.nix b/pkgs/applications/networking/ids/zeek/default.nix
index 8ab64a6e57dd7..e4440b483595a 100644
--- a/pkgs/applications/networking/ids/zeek/default.nix
+++ b/pkgs/applications/networking/ids/zeek/default.nix
@@ -22,6 +22,7 @@
 
 let
   broker = callPackage ./broker { };
+  python = python3.withPackages (p: [ p.gitpython p.semantic-version ]);
 in
 stdenv.mkDerivation rec {
   pname = "zeek";
@@ -43,7 +44,7 @@ stdenv.mkDerivation rec {
     cmake
     file
     flex
-    python3
+    python
   ];
 
   buildInputs = [
@@ -56,11 +57,11 @@ stdenv.mkDerivation rec {
     openssl
     swig
     zlib
+    python
   ] ++ lib.optionals stdenv.isLinux [
     libkqueue
   ] ++ lib.optionals stdenv.isDarwin [
     gettext
-    python3
   ];
 
   postPatch = ''