Archived
1
0
Fork 0

gnu: wxmaxima: Update to 20.06.6.

* gnu/packages/maths.scm (wxmaxima): Update to 20.06.6.
[arguments]: Add 'patch-doc-path phase.
This commit is contained in:
Kei Kebreau 2020-07-30 23:20:38 -04:00
parent bc549a276c
commit e79fe4f675
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -3383,7 +3383,7 @@ point numbers.")
(define-public wxmaxima (define-public wxmaxima
(package (package
(name "wxmaxima") (name "wxmaxima")
(version "20.04.0") (version "20.06.6")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -3392,7 +3392,7 @@ point numbers.")
(commit (string-append "Version-" version)))) (commit (string-append "Version-" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0vrjxzfgmjdzm1rgl0crz4b4badl14jwh032y3xkcdvjl5j67lp3")))) (base32 "054f7n5kx75ng5j20rd5q27n9xxk03mrd7sbxyym1lsswzimqh4w"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)
@ -3410,6 +3410,14 @@ point numbers.")
`(#:test-target "test" `(#:test-target "test"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-doc-path
(lambda _
;; Don't look in share/doc/wxmaxima-xx.xx.x for the
;; documentation. Only licensing information is placed there by
;; Guix.
(substitute* "src/Dirstructure.cpp"
(("/doc/wxmaxima-\\%s") "/doc/wxmaxima"))
#t))
(add-before 'check 'pre-check (add-before 'check 'pre-check
(lambda _ (lambda _
;; Tests require a running X server. ;; Tests require a running X server.