[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: aspell-dictionary: Use ‘modify-phases’ syntax.
From: |
Tobias Geerinckx-Rice |
Subject: |
03/08: gnu: aspell-dictionary: Use ‘modify-phases’ syntax. |
Date: |
Tue, 20 Dec 2016 04:51:17 +0000 (UTC) |
nckx pushed a commit to branch master
in repository guix.
commit 707ee3247162062ff08ff5fd0aa569d00e914f9d
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
- branch master updated (2fb5af2 -> 1feeb2e), Tobias Geerinckx-Rice, 2016/12/19
- 04/08: gnu: Add Ancient Greek Aspell dictionary., Tobias Geerinckx-Rice, 2016/12/19
- 03/08: gnu: aspell-dictionary: Use ‘modify-phases’ syntax.,
Tobias Geerinckx-Rice <=
- 07/08: gnu: cppcheck: Update to 1.76.1., Tobias Geerinckx-Rice, 2016/12/19
- 08/08: gnu: argon2: Update to 20161029., Tobias Geerinckx-Rice, 2016/12/19
- 01/08: gnu: cutadapt: Use ‘modify-phases’ syntax., Tobias Geerinckx-Rice, 2016/12/19
- 02/08: gnu: weechat: Use new xz-compressed tarball., Tobias Geerinckx-Rice, 2016/12/19
- 06/08: gnu: hunspell: Add missing perl dependency., Tobias Geerinckx-Rice, 2016/12/19
- 05/08: gnu: hunspell: Update to 1.5.4., Tobias Geerinckx-Rice, 2016/12/19