suricata: take versioned params instead of overriding at top-level

In preparation for moving to ./pkgs/by-name.
This commit is contained in:
Bjørn Forsman 2024-11-23 21:54:50 +01:00
parent 041855ac56
commit 77fffb09ec
2 changed files with 6 additions and 9 deletions

View File

@ -9,7 +9,7 @@
, file
, hyperscan
, jansson
, libbpf
, libbpf_0
, libcap_ng
, libevent
, libmaxminddb
@ -23,7 +23,7 @@
, lz4
, nspr
, pcre2
, python
, python3
, zlib
, redisSupport ? true, redis, hiredis
, rustSupport ? true, rustc, cargo
@ -49,14 +49,14 @@ stdenv.mkDerivation rec {
++ lib.optionals rustSupport [ rustc cargo ]
;
propagatedBuildInputs = with python.pkgs; [
propagatedBuildInputs = with python3.pkgs; [
pyyaml
];
buildInputs = [
elfutils
jansson
libbpf
libbpf_0
libcap_ng
libevent
libmagic
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
lz4
nspr
pcre2
python
python3
zlib
]
++ lib.optional hyperscanSupport hyperscan

View File

@ -5304,10 +5304,7 @@ with pkgs;
spoof-mac = python3Packages.callPackage ../tools/networking/spoof-mac { };
suricata = callPackage ../applications/networking/ids/suricata {
python = python3;
libbpf = libbpf_0;
};
suricata = callPackage ../applications/networking/ids/suricata { };
softhsm = callPackage ../tools/security/softhsm {
inherit (darwin) libobjc;