[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/32: gnu: apl: Use G-expressions.
From: |
guix-commits |
Subject: |
21/32: gnu: apl: Use G-expressions. |
Date: |
Mon, 2 May 2022 09:16:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 67b10f18c725fdc8859c224d6a2a02ef06f2414c
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon May 2 11:17:22 2022 +0000
gnu: apl: Use G-expressions.
* gnu/packages/apl.scm (apl)[arguments]: Use G-expressions.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/apl.scm | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/apl.scm b/gnu/packages/apl.scm
index 0a741b0295..e483876cc5 100644
--- a/gnu/packages/apl.scm
+++ b/gnu/packages/apl.scm
@@ -23,6 +23,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix git-download)
#:use-module (guix svn-download)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (gnu packages gettext)
@@ -54,22 +55,22 @@
readline
sqlite))
(arguments
- `(#:configure-flags (list (string-append
- "--with-sqlite3="
- (assoc-ref %build-inputs "sqlite")))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'fix-configure
- (lambda _
- (substitute* "buildtag.sh"
- ;; Don't exit on failed SVN-related calls.
- (("^ +return 0\n") "")
- ;; Manually set the SVN revision, since the directory is
- ;; unversioned and we know it anyway.
- (("^SVNINFO=.*")
- ,(string-append "SVNINFO=" (number->string revision) "\n"))
- ;; Requires running ‘svn info’ on a versioned directory.
- (("\\\\\"\\$ARCHIVE_SVNINFO\\\\\"") "\\\"\\\"")))))))
+ (list #:configure-flags #~(list (string-append
+ "--with-sqlite3="
+ #$(this-package-input "sqlite")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'fix-configure
+ (lambda _
+ (substitute* "buildtag.sh"
+ ;; Don't exit on failed SVN-related calls.
+ (("^ +return 0\n") "")
+ ;; Manually set the SVN revision, since the directory is
+ ;; unversioned and we know it anyway.
+ (("^SVNINFO=.*")
+ (string-append "SVNINFO=" #$(number->string revision)
"\n"))
+ ;; Requires running ‘svn info’ on a versioned directory.
+ (("\\\\\"\\$ARCHIVE_SVNINFO\\\\\"") "\\\"\\\"")))))))
(synopsis "APL interpreter")
(description
"GNU APL is a free interpreter for the programming language APL. It is
- 09/32: gnu: aws-c-compression: Fix comment formatting., (continued)
- 09/32: gnu: aws-c-compression: Fix comment formatting., guix-commits, 2022/05/02
- 25/32: gnu: Add python-sybil., guix-commits, 2022/05/02
- 11/32: gnu: aws-c-s3: Fix comment formatting., guix-commits, 2022/05/02
- 17/32: gnu: ugrep: Update to 3.7.9., guix-commits, 2022/05/02
- 20/32: gnu: apl: Remove input labels., guix-commits, 2022/05/02
- 22/32: gnu: fmt: Update to 8.1.1., guix-commits, 2022/05/02
- 05/32: gnu: aws-c-io: Fix comment formatting., guix-commits, 2022/05/02
- 27/32: gnu: Add python-queuelib., guix-commits, 2022/05/02
- 14/32: gnu: aws-lc: Fix checksum and enable tests., guix-commits, 2022/05/02
- 18/32: gnu: Add emacs-git-email., guix-commits, 2022/05/02
- 21/32: gnu: apl: Use G-expressions.,
guix-commits <=
- 26/32: gnu: Add python-pydispatcher., guix-commits, 2022/05/02
- 28/32: gnu: Add python-itemadapter., guix-commits, 2022/05/02
- 29/32: gnu: Add python-protego., guix-commits, 2022/05/02
- 32/32: gnu: Add python-scrapy., guix-commits, 2022/05/02