@@ -4259,7 +4259,7 @@ (define-public gsegrafix
(define-public maxima
(package
(name "maxima")
- (version "5.45.1")
+ (version "5.46.0")
(source
(origin
(method url-fetch)
@@ -4267,11 +4267,12 @@ (define-public maxima
version "-source/" name "-" version ".tar.gz"))
(sha256
(base32
- "1p77nk5sz1qfkn5zr97szpbi8ib4b22k8i52l4ag5gkhd4kid47y"))
+ "01wbm8jj43p7gpdj4h55aij0b44bjydn4bwb7q1wjrfs91mz143k"))
(patches (search-patches "maxima-defsystem-mkdir.patch"))))
(build-system gnu-build-system)
(inputs
`(("bash" ,bash-minimal)
+ ("ecl" ,ecl)
("gnuplot" ,gnuplot) ;for plots
("sbcl" ,sbcl)
("sed" ,sed)
@@ -4280,7 +4281,8 @@ (define-public maxima
(list texinfo perl python))
(arguments
`(#:configure-flags
- ,#~(list "--enable-sbcl"
+ ,#~(list "--enable-sbcl" "--enable-ecl"
+ (string-append "--with-ecl=" #$ecl "/bin/ecl")
(string-append "--with-sbcl=" #$sbcl "/bin/sbcl")
(string-append "--with-posix-shell=" #$bash-minimal "/bin/sh")
(string-append "--with-wish=" #$tk "/bin/wish"
@@ -4324,6 +4326,10 @@ (define-public maxima
"--lisp=sbcl "
"--batch-string=\"run_testsuite();\" "
"| grep -q \"No unexpected errors found\""))))
+ (add-after 'install 'install-fas
+ (lambda* (#:key outputs #:allow-other-keys)
+ (copy-recursively "src/binary-ecl/maxima.fas"
+ (string-append (assoc-ref outputs "out") "/lib/maxima/" ,version "/binary-ecl/maxima.fas"))))
;; Make sure the doc and emacs files are found in the
;; standard location. Also configure maxima to find gnuplot
;; without having it on the PATH.