forked from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathold_default.nix
179 lines (139 loc) · 4.69 KB
/
old_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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{ pkgs ? import <nixpkgs> {} }:
rec {
# The `lib`, `modules`, and `overlay` names are special
lib = import ./lib { inherit pkgs; }; # functions
modules = import ./modules; # NixOS modules
overlays = import ./overlays; # nixpkgs overlays
# Hello
hello = pkgs.callPackage ./pkgs/hello { };
# Casa
# Versions 4.7.2 and 5.1.1 are kept for backward
# compatibility issues.
#casa-472 = pkgs.callPackage ./pkgs/casa/4.7.2.nix { };
#casa-511 = pkgs.callPackage ./pkgs/casa/5.1.1.nix { };
#casa = pkgs.callPackage ./pkgs/casa/default.nix { };
# Intel compiler
#intel-compilers-2016 = pkgs.callPackage ./pkgs/intel/2016.nix { };
intel-compilers-2017 = pkgs.callPackage ./pkgs/intel/2017.nix { };
intel-compilers-2018 = pkgs.callPackage ./pkgs/intel/2018.nix { };
intel-compilers-2019 = pkgs.callPackage ./pkgs/intel/2019.nix { };
# iRods
inherit (pkgs.callPackages ./pkgs/irods rec {
stdenv = pkgs.llvmPackages.libcxxStdenv;
libcxx = pkgs.llvmPackages.libcxx;
boost = pkgs.boost160.override { inherit stdenv; };
avro-cpp_llvm = pkgs.avro-cpp.override { inherit stdenv boost; };
})
irods
irods-icommands;
# Openmpi
openmpi1 = pkgs.callPackage ./pkgs/openmpi { };
openmpi2 = pkgs.callPackage ./pkgs/openmpi/2.nix { psm2 = psm2; libfabric = libfabric;};
openmpi2-opa = pkgs.callPackage ./pkgs/openmpi/2.nix {
psm2 = psm2;
libfabric = libfabric;
enableFabric = true;
};
openmpi2-ib = pkgs.callPackage ./pkgs/openmpi/2.nix {
psm2 = psm2;
libfabric = libfabric;
enableIbverbs = true;
};
openmpi3 = pkgs.callPackage ./pkgs/openmpi/3.nix {
psm2 = psm2;
};
openmpi4 = pkgs.callPackage ./pkgs/openmpi/4.nix {
enablePrefix = true;
enableFabric = true;
libfabric = libfabric;
psm2 = psm2;
};
openmpi = openmpi4;
psm2 = pkgs.callPackage ./pkgs/psm2 { };
libfabric = pkgs.callPackage ./pkgs/libfabric { psm2 = psm2; };
# HPL
hpl = pkgs.callPackage ./pkgs/hpl { mpi = openmpi4; };
# HPL
hp2p = pkgs.callPackage ./pkgs/hp2p { mpi = openmpi4; };
# Petsc
petscComplex = pkgs.callPackage ./pkgs/petsc { scalarType = "complex"; };
petscReal = pkgs.callPackage ./pkgs/petsc { scalarType = "real"; };
petsc = petscComplex;
# udocker
udocker = pkgs.pythonPackages.callPackage ./pkgs/udocker { };
# Arpack-ng
arpackNG = pkgs.callPackage ./pkgs/arpack-ng { };
# Gdal
gdal = pkgs.callPackage ./pkgs/gdal { # forked from nixpkgs master as unstable is bugged, for dep
libmysqlclient = pkgs.mysql // {lib = {dev = pkgs.mysql;};};
};
# GMT
gshhg-gmt = pkgs.callPackage ./pkgs/gmt/gshhg-gmt.nix { };
dcw-gmt = pkgs.callPackage ./pkgs/gmt/dcw-gmt.nix { };
gmt = pkgs.callPackage ./pkgs/gmt {
gdal = gdal ;
gshhg-gmt = gshhg-gmt ;
dcw-gmt = dcw-gmt ;
};
# Trilinos
trilinos = pkgs.callPackage ./pkgs/trilinos {
suitesparse = suitesparse;
openmpi = openmpi4;
};
# Szip
szip = pkgs.callPackage ./pkgs/szip { };
# Mpi-ping example
mpi-ping = pkgs.callPackage ./pkgs/mpi-ping { };
# Singularity
# (disabled because of Go dependency that should match the NixOS release)
#singularity = pkgs.callPackage ./pkgs/singularity {
# buildGoModule = pkgs.buildGo113Module;
#go = pkgs.go_1_13;
#};
# PLPlot
plplot = pkgs.callPackage ./pkgs/plplot { };
# Hoppet
hoppet = pkgs.callPackage ./pkgs/hoppet { };
# applgrid
applgrid = pkgs.callPackage ./pkgs/applgrid { };
# LHApdf 5.9
lhapdf59 = pkgs.callPackage ./pkgs/lhapdf59 { };
# Bagel
bagel = pkgs.callPackage ./pkgs/bagel { };
# stacks
stacks = pkgs.callPackage ./pkgs/stacks { };
# messer-slim
messer-slim = pkgs.callPackage ./pkgs/messer-slim { };
# Fate
fate = pkgs.callPackage ./pkgs/fate { gdal = gdal; };
# Migrate
migrate = pkgs.callPackage ./pkgs/migrate { };
# GDL
gdl = pkgs.callPackage ./pkgs/gdl {
plplot = plplot;
fftw3 = fftw3;
};
# CSA
#csa = pkgs.callPackage ./pkgs/csa { };
# FFTW
fftw3 = pkgs.callPackage ./pkgs/fftw { };
# Zonation
zonation-core = pkgs.callPackage ./pkgs/zonation-core { gdal = gdal ; };
# Scotch 6.0.5a with mumps libraries
scotch-mumps = pkgs.callPackage ./pkgs/scotch-mumps { };
# Obitools3
obitools3 = pkgs.callPackage ./pkgs/obitools/obitools3.nix { };
# Suitesparse
suitesparse = pkgs.callPackage ./pkgs/suitesparse { };
# GTS snapshot-121130 (snapshot version dep for Gerris)
gts121130 = pkgs.callPackage ./pkgs/gts { };
# Gerris
gerris = pkgs.callPackage ./pkgs/gerris {
fftw3 = fftw3;
gts = gts121130;
};
# Iqtree
iqtree = pkgs.callPackage ./pkgs/iqtree { };
# Beagle
beagle = pkgs.callPackage ./pkgs/beagle { };
}