forked from siconos/siconos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
37 lines (33 loc) · 1.29 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
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
{
siconos-numerics-only = callPackage ./siconos.nix {
numerics_only=true;
enable_python=false;
blas_implem=pkgs.openblas.override { blas64 = false; };};
siconos-numerics-python3 = callPackage ./siconos.nix {
numerics_only=true;
enable_python=true;
blas_implem=pkgs.openblas.override { blas64 = false; };
};
siconos-numerics-openmp = callPackage ./siconos.nix {
numerics_only=true;
enable_openmp=true;
blas_implem=pkgs.openblas.override { blas64 = false; };
};
siconos-numerics-python2 = callPackage ./siconos.nix {
numerics_only=true;
enable_python=true;
blas_implem=pkgs.openblas.override { blas64 = false; };
pythonX=python2;};
siconos-full = callPackage ./siconos.nix {
enable_python=false;
blas_implem=pkgs.openblas.override { blas64 = false; };};
siconos-full-python = callPackage ./siconos.nix {
enable_python=true;
blas_implem=pkgs.openblas.override { blas64 = false; };};
siconos-test = callPackage ./sico_light.nix {
enable_python=true;
blas_implem=pkgs.openblas.override { blas64 = false; };};
sico-py = pkgs.python35.withPackages (ps: with ps; [ ./siconos-numerics-python3 pip numpy ipython h5py matplotlib pytest lxml scipy]);
}