[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: filtlong: Use gexp.
From: |
guix-commits |
Subject: |
05/06: gnu: filtlong: Use gexp. |
Date: |
Fri, 6 Jan 2023 08:07:21 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 067c8a7445fbe030d0f4480282e6a6beb2c1997f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 6 14:05:58 2023 +0100
gnu: filtlong: Use gexp.
* gnu/packages/bioinformatics.scm (filtlong)[arguments]: Use gexp.
---
gnu/packages/bioinformatics.scm | 45 ++++++++++++++++++++---------------------
1 file changed, 22 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4bc4dde36c..1dd847f369 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14321,29 +14321,28 @@ phase + query phase).")
(base32 "1xr92r820x8qlkcr3b57iw223yq8vjgyi42jr79w2xgw47qzr575"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; no check target
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (scripts (string-append out "/share/filtlong/scripts")))
- (install-file "bin/filtlong" bin)
- (install-file "scripts/histogram.py" scripts)
- (install-file "scripts/read_info_histograms.sh" scripts))))
- (add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (path (getenv "GUIX_PYTHONPATH")))
- (wrap-program (string-append out
-
"/share/filtlong/scripts/histogram.py")
- `("GUIX_PYTHONPATH" ":" prefix (,path))))))
- (add-before 'check 'patch-tests
- (lambda _
- (substitute* "scripts/read_info_histograms.sh"
- (("awk") (which "gawk"))))))))
+ (list
+ #:tests? #f ; no check target
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda _
+ (let ((bin (string-append #$output "/bin"))
+ (scripts (string-append #$output
"/share/filtlong/scripts")))
+ (install-file "bin/filtlong" bin)
+ (install-file "scripts/histogram.py" scripts)
+ (install-file "scripts/read_info_histograms.sh" scripts))))
+ (add-after 'install 'wrap-program
+ (lambda _
+ (let ((path (getenv "GUIX_PYTHONPATH")))
+ (wrap-program (string-append #$output
+
"/share/filtlong/scripts/histogram.py")
+ `("GUIX_PYTHONPATH" ":" prefix (,path))))))
+ (add-before 'check 'patch-tests
+ (lambda _
+ (substitute* "scripts/read_info_histograms.sh"
+ (("awk") (which "gawk"))))))))
(inputs
(list gawk ;for read_info_histograms.sh
python-2 ;required for histogram.py
- branch master updated (ba35d6ba12 -> 8ace894681), guix-commits, 2023/01/06
- 01/06: gnu: ngless: Remove trailing #T from build phases., guix-commits, 2023/01/06
- 04/06: gnu: filtlong: Drop input labels., guix-commits, 2023/01/06
- 03/06: gnu: filtlong: Remove trailing #T from build phases., guix-commits, 2023/01/06
- 02/06: gnu: ngless: Use gexp., guix-commits, 2023/01/06
- 06/06: gnu: filtlong: Use Python 3., guix-commits, 2023/01/06
- 05/06: gnu: filtlong: Use gexp.,
guix-commits <=