gnu: bismark: Fix references to gunzip.

* gnu/packages/bioinformatics.scm (bismark)[arguments]: Keep reference to
gunzip executable.
[inputs]: Add gzip.
This commit is contained in:
Ricardo Wurmus 2018-03-19 20:53:27 +01:00
parent 51237011bf
commit 096589035e
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 10 additions and 1 deletions

View File

@ -11514,7 +11514,7 @@ Browser.")
(delete 'configure) (delete 'configure)
(delete 'build) (delete 'build)
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") (let ((bin (string-append (assoc-ref outputs "out")
"/bin")) "/bin"))
(docdir (string-append (assoc-ref outputs "out") (docdir (string-append (assoc-ref outputs "out")
@ -11537,7 +11537,16 @@ Browser.")
scripts) scripts)
(for-each (lambda (file) (install-file file docdir)) (for-each (lambda (file) (install-file file docdir))
docs) 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)))))) #t))))))
(inputs
`(("gzip" ,gzip)))
(home-page "http://www.bioinformatics.babraham.ac.uk/projects/bismark/") (home-page "http://www.bioinformatics.babraham.ac.uk/projects/bismark/")
(synopsis "Map bisulfite treated sequence reads and analyze methylation") (synopsis "Map bisulfite treated sequence reads and analyze methylation")
(description "Bismark is a program to map bisulfite treated sequencing (description "Bismark is a program to map bisulfite treated sequencing