[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: bismark: Fix references to gunzip.
From: |
Ricardo Wurmus |
Subject: |
02/03: gnu: bismark: Fix references to gunzip. |
Date: |
Mon, 19 Mar 2018 16:07:37 -0400 (EDT) |
rekado pushed a commit to branch rhel6
in repository guix.
commit ee9785de82b87abfae32936fd0798db83642da21
Author: Ricardo Wurmus <address@hidden>
Date: Mon Mar 19 20:53:27 2018 +0100
gnu: bismark: Fix references to gunzip.
* gnu/packages/bioinformatics.scm (bismark)[arguments]: Keep reference to
gunzip executable.
[inputs]: Add gzip.
---
gnu/packages/bioinformatics.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a4e6a7e..a36b15e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11507,7 +11507,7 @@ Browser.")
(delete 'configure)
(delete 'build)
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out")
"/bin"))
(docdir (string-append (assoc-ref outputs "out")
@@ -11530,7 +11530,16 @@ Browser.")
scripts)
(for-each (lambda (file) (install-file file docdir))
docs)
+ ;; Fix references to gunzip
+ (substitute* (map (lambda (file)
+ (string-append bin "/" file))
+ scripts)
+ (("\"gunzip -c")
+ (string-append "\"" (assoc-ref inputs "gzip")
+ "/bin/gunzip -c")))
#t))))))
+ (inputs
+ `(("gzip" ,gzip)))
(home-page "http://www.bioinformatics.babraham.ac.uk/projects/bismark/")
(synopsis "Map bisulfite treated sequence reads and analyze methylation")
(description "Bismark is a program to map bisulfite treated sequencing