-
Notifications
You must be signed in to change notification settings - Fork 66
/
shell.nix
75 lines (71 loc) · 1.28 KB
/
shell.nix
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
let
# Use `niv update` to update nixpkgs.
# See https://github.com/nmattia/niv/
sources = import ./nix/sources.nix;
pyahocorasickOverlay = _final: prev: {
python3 = prev.python3.override {
packageOverrides = _pyFinal: pyPrev: {
pyahocorasick = pyPrev.pyahocorasick.overrideAttrs (oldAttrs: {
preBuild = (oldAttrs.preBuild or "") + "export AHOCORASICK_BYTES=1";
});
};
};
};
pkgs = import sources.nixpkgs { config.allowUnfree = true; overlays = [ pyahocorasickOverlay ]; };
my-python = pkgs.python3.withPackages (p: with p; [
brotli
click
deepdiff
defusedxml
dockerfile-parse
icalendar
kaitaistruct
leb128
lz4
mutf8
python-lzo
parameterized
pdfminer
pefile
pillow
protobuf
pwntools
pyahocorasick
pyaxmlparser
pytest
python-snappy
pyyaml
rich
telfhash
textual
tlsh
xxhash
zstandard
]);
in
pkgs.mkShell {
buildInputs = with pkgs; [
binutils
bzip3
cabextract
e2fsprogs
e2tools
erofs-utils
innoextract
kaitai-struct-compiler
lrzip
lz4
ncompress
openssl
my-python
protobuf
qemu
rzip
sasquatch
squashfsTools
unrar
unshield
utillinux
zchunk
];
}