gnu: maxima: Update to 5.47.0.
* gnu/packages/maths.scm (maxima): Update to 5.47.0. [inputs]: Remove labels. [arguments]: Use gexps. Remove trailing booleans.
This commit is contained in:
parent
2f545cbaf5
commit
17c13b4a42
1 changed files with 82 additions and 85 deletions
|
@ -48,7 +48,7 @@
|
|||
;;; Copyright © 2021, 2022 Paul A. Patience <paul@apatience.com>
|
||||
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
||||
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
|
||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2021, 2023 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2021 Pierre-Antoine Bouttier <pierre-antoine.bouttier@univ-grenoble-alpes.fr>
|
||||
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
||||
;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
|
@ -4324,28 +4324,28 @@ (define-public gsegrafix
|
|||
(define-public maxima
|
||||
(package
|
||||
(name "maxima")
|
||||
(version "5.46.0")
|
||||
(version "5.47.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/maxima/Maxima-source/"
|
||||
version "-source/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01wbm8jj43p7gpdj4h55aij0b44bjydn4bwb7q1wjrfs91mz143k"))
|
||||
(base32 "0yhgsi7s22bpblrmrj60x0jsjdz98b5hjdcq7b0fhlzx4hdh414i"))
|
||||
(patches (search-patches "maxima-defsystem-mkdir.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("bash" ,bash-minimal)
|
||||
("gnuplot" ,gnuplot) ;for plots
|
||||
("sbcl" ,sbcl)
|
||||
("sed" ,sed)
|
||||
("tk" ,tk))) ;Tcl/Tk is used by 'xmaxima'
|
||||
(list bash-minimal
|
||||
gnuplot ;for plots
|
||||
sbcl
|
||||
sed
|
||||
tk)) ;Tcl/Tk is used by 'xmaxima'
|
||||
(native-inputs
|
||||
(list texinfo perl python))
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
,#~(list "--enable-sbcl"
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "--enable-sbcl"
|
||||
(string-append "--with-sbcl=" #$sbcl "/bin/sbcl")
|
||||
(string-append "--with-posix-shell=" #$bash-minimal "/bin/sh")
|
||||
(string-append "--with-wish=" #$tk "/bin/wish"
|
||||
|
@ -4353,9 +4353,9 @@ (define-public maxima
|
|||
;; By default Maxima attempts to write temporary files to
|
||||
;; '/tmp/nix-build-maxima-*', which won't exist at run time.
|
||||
;; Work around that.
|
||||
#:make-flags (list "TMPDIR=/tmp")
|
||||
#:make-flags #~(list "TMPDIR=/tmp")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((sed (search-input-file inputs "/bin/sed"))
|
||||
|
@ -4371,12 +4371,10 @@ (define-public maxima
|
|||
(substitute* "doc/info/Makefile.in"
|
||||
(("/usr/bin/env perl") perl))
|
||||
(substitute* "doc/info/build_html.sh.in"
|
||||
(("python") python))
|
||||
#t)))
|
||||
(("python") python)))))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(chmod "src/maxima" #o555)
|
||||
#t))
|
||||
(chmod "src/maxima" #o555)))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; This is derived from the testing code in the "debian/rules" file
|
||||
|
@ -4396,7 +4394,7 @@ (define-public maxima
|
|||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
(let* ((gnuplot (assoc-ref inputs "gnuplot"))
|
||||
(out (assoc-ref outputs "out"))
|
||||
(datadir (string-append out "/share/maxima/" ,version))
|
||||
(datadir (string-append out "/share/maxima/" #$version))
|
||||
(binutils (dirname (search-input-file inputs "/bin/as"))))
|
||||
(with-directory-excursion out
|
||||
(mkdir-p "share/emacs")
|
||||
|
@ -4414,8 +4412,7 @@ (define-public maxima
|
|||
;; Ensure that Maxima will have access to the GNU binutils
|
||||
;; components at runtime.
|
||||
(wrap-program (string-append out "/bin/maxima")
|
||||
`("PATH" prefix (,binutils))))
|
||||
#t))
|
||||
`("PATH" prefix (#$binutils))))))
|
||||
;; The Maxima command ‘describe’ allows picking the relevant portions
|
||||
;; from Maxima’s Texinfo docs. However it does not support reading
|
||||
;; gzipped info files.
|
||||
|
|
Loading…
Reference in a new issue