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
-
{ lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python, makeWrapper, autoreconfHook
2
, rlwrap ? null, tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false
3
}:
4
···
6
name = "maxima";
7
version = "5.44.0";
8
0
0
9
searchPath =
10
lib.makeBinPath
11
-
(lib.filter (x: x != null) [ sbcl ecl rlwrap tk gnuplot ]);
12
in
13
stdenv.mkDerivation ({
14
inherit version;
···
19
sha256 = "1v6jr5s6hhj6r18gfk6hgxk2qd6z1dxkrjq9ss2z1y6sqi45wgyr";
20
};
21
22
-
nativeBuildInputs = [ autoreconfHook ];
0
0
0
0
0
0
23
24
-
buildInputs = lib.filter (x: x != null) [
25
-
sbcl ecl texinfo perl python makeWrapper
26
-
gnuplot # required in the test suite
0
27
];
28
29
postPatch = ''
···
1
+
{ lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python3, makeWrapper, autoreconfHook
2
, rlwrap ? null, tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false
3
}:
4
···
6
name = "maxima";
7
version = "5.44.0";
8
9
+
lisp-compiler = if ecl-fasl then ecl else sbcl;
10
+
11
searchPath =
12
lib.makeBinPath
13
+
(lib.filter (x: x != null) [ lisp-compiler rlwrap tk gnuplot ]);
14
in
15
stdenv.mkDerivation ({
16
inherit version;
···
21
sha256 = "1v6jr5s6hhj6r18gfk6hgxk2qd6z1dxkrjq9ss2z1y6sqi45wgyr";
22
};
23
24
+
nativeBuildInputs = [
25
+
autoreconfHook
26
+
lisp-compiler
27
+
makeWrapper
28
+
python3
29
+
texinfo
30
+
];
31
32
+
strictDeps = true;
33
+
34
+
checkInputs = [
35
+
gnuplot
36
];
37
38
postPatch = ''