-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdefault.nix
executable file
·57 lines (54 loc) · 1.16 KB
/
default.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
with import <nixpkgs> {};
python36Packages.buildPythonPackage {
name = "dqnroute";
src = ./src;
buildInputs = with python36Packages; [
# system packages
git
libzip
libpng
freetype
# python packages
python36Full
virtualenv
setuptools
matplotlib
pandas
more-itertools
numpy
simpy
scipy
scikitlearn
seaborn
jupyter
jupyter_client
jupyter_console
jupyter_core
jupyterlab
jupyterlab_launcher
backports_shutil_get_terminal_size
widgetsnbextension
ipython
ipykernel
ipywidgets
torch
typing
networkx
h5py
pyyaml
tqdm
stdenv
zlib
graphviz
];
# When used as `nix-shell --pure`
shellHook = ''
unset http_proxy
export GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt
'';
# used when building environments
extraCmds = ''
unset http_proxy # otherwise downloads will fail ("nodtd.invalid")
export GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt
'';
}