summaryrefslogtreecommitdiff
path: root/gnu/packages/algebra.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2025-08-13 20:33:50 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2025-08-14 11:31:08 +0200
commitc07d417152359ed571d3eef117bb2e8bca342d84 (patch)
tree85d3e67508140198846691dc3eb7a80d86a11c4b /gnu/packages/algebra.scm
parentcb47639a8081e8e2d651ad1612bbd1e482766469 (diff)
gnu: giac: Update to 2.0.0-10.
* gnu/packages/algebra.scm (giac): Update to 2.0.0-10. [inputs]: Remove glpk-4; add glpk. [native-inputs]: Add autoconf, automake, and libtool. [arguments]<#:phases>: Run all tests. Also prevent a build failure by regenerating a file at bootstrap. Change-Id: Idf9eda21eabc02dde2256ba841bc914787de4cbb
Diffstat (limited to 'gnu/packages/algebra.scm')
-rw-r--r--gnu/packages/algebra.scm23
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 83572e2fc66..313bb36dd05 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -401,7 +401,7 @@ precision.")
(define-public giac
(package
(name "giac")
- (version "1.9.0-998")
+ (version "2.0.0-10")
(source
(origin
(method url-fetch)
@@ -413,7 +413,7 @@ precision.")
"https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/"
"stable/main/source/giac_" version ".tar.gz"))
(sha256
- (base32 "1r71kl21xxf3872r0q25r2b9wpg03zrp08rsnpyqrhajmxb0ljbz"))))
+ (base32 "1lzb0jjmkg5ml1qfl0m00qqng4sxgfqwrbq10gpkp4b301k2ckv1"))))
(build-system gnu-build-system)
(arguments
(list
@@ -428,12 +428,12 @@ precision.")
(substitute* (cons "micropython-1.12/xcas/Makefile"
(find-files "doc" "^Makefile"))
(("/bin/cp") (which "cp")))))
- (add-after 'unpack 'disable-failing-test
- ;; FIXME: Tests failing. Not sure why.
- (lambda _
- (substitute* "check/Makefile.in"
- (("chk_fhan(4|11)") "")
- (("chk_fhan(14|21)") "")))) ;fail specifically on i686
+ (replace 'bootstrap
+ (lambda _
+ ;; XXX: Regenerate "src/mkjs" to avoid a build error because
+ ;; the default file is bogus in a Guix environment.
+ (delete-file "src/mkjs")
+ (invoke "autoreconf" "-vfi")))
(add-after 'install 'fix-doc
(lambda _
;; Most French documentation has a non-commercial license, so we
@@ -454,7 +454,7 @@ precision.")
;; TODO: Unbundle "libmicropython.a".
(list ao
fltk-1.3
- glpk-4
+ glpk
gmp
gsl
libjpeg-turbo
@@ -474,9 +474,12 @@ precision.")
perl
tcsh))
(native-inputs
- (list bison
+ (list autoconf
+ automake
+ bison
flex
hevea
+ libtool
python-wrapper
readline
(texlive-local-tree)))