gnu: graphviz: Update to 5.0.0.

* gnu/packages/graphviz.scm (graphviz): Update to 5.0.0.
[arguments]: Remove obsolete phase.
This commit is contained in:
Marius Bakke 2022-07-28 14:29:34 +02:00
parent 307c9c6550
commit f111b7e824
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -67,7 +67,7 @@ (define-module (gnu packages graphviz)
(define-public graphviz (define-public graphviz
(package (package
(name "graphviz") (name "graphviz")
(version "2.49.0") (version "5.0.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://gitlab.com/api/v4/projects/4207231" (uri (string-append "https://gitlab.com/api/v4/projects/4207231"
@ -75,21 +75,14 @@ (define-public graphviz
version "/graphviz-" version ".tar.xz")) version "/graphviz-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"042s6mbi681pwgffqww2ap780230nrsrfpfiz9a41dcjb5a0m524")))) "0nkc90c3cvhvjy7z08f56l0fagkyaq63g6zszrr02bbsfxb7796s"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
;; FIXME: rtest/rtest.sh is a ksh script (!). Add ksh as an input. ;; FIXME: rtest/rtest.sh is a ksh script (!). Add ksh as an input.
(list #:tests? #f (list #:tests? #f
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'install 'move-docs (add-after 'install 'move-guile-bindings
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(doc (assoc-ref outputs "doc")))
(mkdir-p (string-append doc "/share/graphviz"))
(rename-file (string-append out "/share/graphviz/doc")
(string-append doc "/share/graphviz/doc")))))
(add-after 'move-docs 'move-guile-bindings
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib")) (lib (string-append out "/lib"))