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.
55 lines
872 B
Nix
55 lines
872 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
|
|
in with pkgs;
|
|
pkgs.mkShell {
|
|
name = "suri-shell";
|
|
|
|
buildInputs = [
|
|
bash
|
|
cargo
|
|
rustc
|
|
rust-cbindgen
|
|
clang
|
|
libclang.python
|
|
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"
|
|
];
|
|
|
|
packages = [
|
|
(pkgs.python3.withPackages (python-pkgs: [
|
|
python-pkgs.pyyaml
|
|
python-pkgs.requests
|
|
]))
|
|
];
|
|
|
|
#shellHook = ''
|
|
# cargo install cbindgen
|
|
#'';
|
|
}
|