forked from OISF/suricata
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshell.nix
More file actions
57 lines (52 loc) · 949 Bytes
/
shell.nix
File metadata and controls
57 lines (52 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
let
pkgs = import <nixpkgs> {};
in with pkgs;
pkgs.mkShell {
name = "suri-shell";
buildInputs = [
bash
cargo
rustc
rust-cbindgen
rust-analyzer
tree-sitter-grammars.tree-sitter-rust
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
sphinx
];
# 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
#'';
}