mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
710 B
Nix
47 lines
710 B
Nix
3 months ago
|
let
|
||
|
pkgs = import <nixpkgs> {};
|
||
|
|
||
|
in with pkgs;
|
||
|
pkgs.mkShell {
|
||
|
name = "suri-shell";
|
||
|
|
||
|
buildInputs = [
|
||
|
bash
|
||
|
cargo
|
||
|
rustc
|
||
|
rust-cbindgen
|
||
|
clang
|
||
|
libllvm
|
||
|
automake
|
||
|
autoconf
|
||
|
autogen
|
||
|
libtool
|
||
|
pkg-config
|
||
|
elfutils
|
||
|
jansson
|
||
|
libbpf_0
|
||
|
libcap_ng
|
||
|
libevent
|
||
|
libmaxminddb
|
||
|
libnet
|
||
|
libnetfilter_log
|
||
|
libnetfilter_queue
|
||
|
libnfnetlink
|
||
|
libpcap
|
||
|
libyaml
|
||
|
lz4
|
||
|
pcre2
|
||
|
vectorscan
|
||
|
zlib
|
||
|
];
|
||
|
|
||
|
# the following is needed to be able to build ebpf files
|
||
|
hardeningDisable = [
|
||
|
"zerocallusedregs"
|
||
|
];
|
||
|
|
||
|
#shellHook = ''
|
||
|
# cargo install cbindgen
|
||
|
#'';
|
||
|
}
|