[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/49: gnu: graphviz: Turn arguments into a gexp.
From: |
guix-commits |
Subject: |
42/49: gnu: graphviz: Turn arguments into a gexp. |
Date: |
Fri, 23 Jul 2021 11:33:13 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 8561fdc85b1342299251b107bc356f4b3e295719
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jul 23 17:11:55 2021 +0200
gnu: graphviz: Turn arguments into a gexp.
* gnu/packages/graphviz.scm (graphviz)[arguments]: Use a gexp for the
modify-phases block. Remove trailing #t's while at it.
---
gnu/packages/graphviz.scm | 45 ++++++++++++++++++++++-----------------------
1 file changed, 22 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 34d6434..70b511c 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -33,6 +33,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
+ #:use-module (guix gexp)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
@@ -74,29 +75,27 @@
(build-system gnu-build-system)
(arguments
;; FIXME: rtest/rtest.sh is a ksh script (!). Add ksh as an input.
- '(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'move-docs
- (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"))
- #t)))
- (add-after 'move-docs 'move-guile-bindings
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (lib (string-append out "/lib"))
- (extdir (string-append lib
- "/guile/2.0/extensions")))
- (mkdir-p extdir)
- (rename-file (string-append
- lib "/graphviz/guile/libgv_guile.so")
- (string-append extdir
- "/libgv_guile.so"))
- #t))))))
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'move-docs
+ (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)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib"))
+ (extdir (string-append lib
+ "/guile/2.0/extensions")))
+ (mkdir-p extdir)
+ (rename-file (string-append
+ lib "/graphviz/guile/libgv_guile.so")
+ (string-append extdir
+ "/libgv_guile.so"))))))))
(inputs
`(("libXrender" ,libxrender)
("libX11" ,libx11)
- 18/49: gnu: Perl: Update to 5.34.0., (continued)
- 18/49: gnu: Perl: Update to 5.34.0., guix-commits, 2021/07/23
- 19/49: gnu: Perl: Update cross-compilation code., guix-commits, 2021/07/23
- 26/49: gnu: acl: Update to 2.3.1., guix-commits, 2021/07/23
- 28/49: gnu: binutils: Update to 2.37., guix-commits, 2021/07/23
- 31/49: gnu: harfbuzz: Update to 2.8.2., guix-commits, 2021/07/23
- 32/49: gnu: pango: Update to 1.48.7., guix-commits, 2021/07/23
- 35/49: gnu: sqlite: Update to 3.36.0., guix-commits, 2021/07/23
- 36/49: gnu: libtiff: Update to 4.3.0., guix-commits, 2021/07/23
- 37/49: gnu: libxml2: Update to 2.9.12., guix-commits, 2021/07/23
- 41/49: gnu: perl-test-needs: Update to 0.002009., guix-commits, 2021/07/23
- 42/49: gnu: graphviz: Turn arguments into a gexp.,
guix-commits <=
- 46/49: gnu: Python: Fix bytecode compilation., guix-commits, 2021/07/23
- 47/49: gnu: Python: Delete existing compiled files before compiling bytecode., guix-commits, 2021/07/23
- 49/49: gnu: Python: Disable indeterministic optimizations., guix-commits, 2021/07/23
- 45/49: gnu: Python: Do not embed timestamps in wheel files., guix-commits, 2021/07/23
- 48/49: gnu: Python: Compile bytecode in all outputs., guix-commits, 2021/07/23
- 40/49: gnu: libcap: Update to 2.51., guix-commits, 2021/07/23
- 43/49: gnu: graphviz: Don't hard code Guile version., guix-commits, 2021/07/23
- 39/49: gnu: libksba: Update to 1.6.0., guix-commits, 2021/07/23
- 44/49: gnu: graphviz: Update to 2.48.0., guix-commits, 2021/07/23