tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
maxima: use strictDeps and python3
Frederik Rietdijk
4 years ago
8f6b07c2
196d3b82
+15
-6
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
math
maxima
default.nix
+15
-6
pkgs/applications/science/math/maxima/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python, makeWrapper, autoreconfHook
1
1
+
{ lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python3, makeWrapper, autoreconfHook
2
2
, rlwrap ? null, tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false
3
3
}:
4
4
···
6
6
name = "maxima";
7
7
version = "5.44.0";
8
8
9
9
+
lisp-compiler = if ecl-fasl then ecl else sbcl;
10
10
+
9
11
searchPath =
10
12
lib.makeBinPath
11
11
-
(lib.filter (x: x != null) [ sbcl ecl rlwrap tk gnuplot ]);
13
13
+
(lib.filter (x: x != null) [ lisp-compiler rlwrap tk gnuplot ]);
12
14
in
13
15
stdenv.mkDerivation ({
14
16
inherit version;
···
19
21
sha256 = "1v6jr5s6hhj6r18gfk6hgxk2qd6z1dxkrjq9ss2z1y6sqi45wgyr";
20
22
};
21
23
22
22
-
nativeBuildInputs = [ autoreconfHook ];
24
24
+
nativeBuildInputs = [
25
25
+
autoreconfHook
26
26
+
lisp-compiler
27
27
+
makeWrapper
28
28
+
python3
29
29
+
texinfo
30
30
+
];
23
31
24
24
-
buildInputs = lib.filter (x: x != null) [
25
25
-
sbcl ecl texinfo perl python makeWrapper
26
26
-
gnuplot # required in the test suite
32
32
+
strictDeps = true;
33
33
+
34
34
+
checkInputs = [
35
35
+
gnuplot
27
36
];
28
37
29
38
postPatch = ''