-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathshell.nix
More file actions
40 lines (40 loc) · 754 Bytes
/
shell.nix
File metadata and controls
40 lines (40 loc) · 754 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
with import <nixpkgs> {};
let
my-python = pkgs.python3;
python-with-my-packages = my-python.withPackages (p: with p; [
scipy
sage
python-lsp-server
pythonPackages.pandas
pythonPackages.numpy
pythonPackages.scipy
pythonPackages.jupyter
pythonPackages.pycrypto
pythonPackages.galois
pythonPackages.bitarray
pythonPackages.pycryptodome
]);
in
{
}:
gccStdenv.mkDerivation {
name = "LESS";
src = ./.;
buildInputs = with pkgs; [
python-with-my-packages
gnumake
cmake
clang
clang-tools
llvm
gcc
pkg-config
openssl
] ++ (lib.optionals pkgs.stdenv.isLinux ([
gdb
valgrind
massif-visualizer
libxslt
linuxKernel.packages.linux_6_6.perf
]));
}