[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
111/155: gnu: aspell-dictionary: Use ‘modify-phases’ syntax.
From: |
John Darrington |
Subject: |
111/155: gnu: aspell-dictionary: Use ‘modify-phases’ syntax. |
Date: |
Wed, 21 Dec 2016 20:48:38 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit c47574e6daacb867c45285416c3abacd221eec95
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Dec 19 21:26:39 2016 +0100
gnu: aspell-dictionary: Use ‘modify-phases’ syntax.
* gnu/packages/aspell.scm (aspell-dictionary)[arguments]: Use
‘modify-phases’.
---
gnu/packages/aspell.scm | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm
index 01a799f..4482138 100644
--- a/gnu/packages/aspell.scm
+++ b/gnu/packages/aspell.scm
@@ -66,7 +66,8 @@ dictionaries, including personal ones.")
;;;
;;; Dictionaries.
;;;
-;;; Use 'export ASPELL_CONF="dict-dir $HOME/.guix-profile/lib/aspell"' to use
them.
+;;; Use 'export ASPELL_CONF="dict-dir $HOME/.guix-profile/lib/aspell"' to use
+;;; them.
;;;
(define* (aspell-dictionary dict-name full-name
@@ -82,16 +83,17 @@ dictionaries, including personal ones.")
(sha256 sha256)))
(build-system gnu-build-system)
(arguments
- `(#:phases (alist-replace
- 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (zero? (system* "./configure"))))
- %standard-phases)
- #:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "dictdir=" out
"/lib/aspell")
- (string-append "datadir=" out
"/lib/aspell")))
- #:tests? #f))
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (zero? (system* "./configure"))))))
+ #:make-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "dictdir=" out "/lib/aspell")
+ (string-append "datadir=" out "/lib/aspell")))
+ #:tests? #f))
(native-inputs `(("aspell" ,aspell)
("which" ,which)))
(synopsis (string-append full-name " dictionary for GNU Aspell")) ; XXX:
i18n
- 127/155: gnu: gnupg: Update to 2.1.17., (continued)
- 127/155: gnu: gnupg: Update to 2.1.17., John Darrington, 2016/12/21
- 120/155: services: cuirass: Add 'cuirass' field., John Darrington, 2016/12/21
- 116/155: gnu: argon2: Update to 20161029., John Darrington, 2016/12/21
- 115/155: gnu: cppcheck: Update to 1.76.1., John Darrington, 2016/12/21
- 135/155: gnu: gnupg: Remove unneeded input., John Darrington, 2016/12/21
- 132/155: Revert "gnu: nss, nss-certs: Update to 3.27.2.", John Darrington, 2016/12/21
- 140/155: gnu: getmail: Update to 4.52.0., John Darrington, 2016/12/21
- 129/155: gnu: Add alsa-plugins., John Darrington, 2016/12/21
- 139/155: gnu: bogofilter: Use 'modify-phases'., John Darrington, 2016/12/21
- 96/155: gnu: Add grub-efi., John Darrington, 2016/12/21
- 111/155: gnu: aspell-dictionary: Use ‘modify-phases’ syntax.,
John Darrington <=
- 124/155: doc: Replace fingerprint of OpenPGP signing key., John Darrington, 2016/12/21
- 117/155: gnu: Fix load-extension path in packaging of guile-ncurses., John Darrington, 2016/12/21
- 143/155: gnu: nmap: Update to 7.40., John Darrington, 2016/12/21
- 146/155: gnu: xcape: Update to 1.2., John Darrington, 2016/12/21
- 141/155: gnu: msmtp: Update to 1.6.6., John Darrington, 2016/12/21
- 150/155: gnu: mlt: Update to 6.4.1., John Darrington, 2016/12/21
- 154/155: gnu: coq: Build coqide, John Darrington, 2016/12/21
- 147/155: gnu: xcb-util-xrm: Update to 1.2., John Darrington, 2016/12/21
- 148/155: gnu: xf86-video-vmware: Update to 13.2.1., John Darrington, 2016/12/21
- 153/155: gnu: lablgtk: use ocamlfind in installation, John Darrington, 2016/12/21