gnu: bowtie: Use 'modify-phases'.

* gnu/packages/bioinformatics.scm (bowtie)[arguments]: Use 'modify-phases'
syntax.
This commit is contained in:
Ben Woodcroft 2017-07-14 19:23:37 +10:00
parent d6e63cf31c
commit 06e372360e
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 8 additions and 10 deletions

View File

@ -1225,16 +1225,14 @@ errors at the end of reads.")
"WITH_TBB=1"
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(alist-delete
'configure
(alist-replace
'check
(lambda* (#:key outputs #:allow-other-keys)
(system* "perl"
"scripts/test/simple_tests.pl"
"--bowtie2=./bowtie2"
"--bowtie2-build=./bowtie2-build"))
%standard-phases))))
(modify-phases %standard-phases
(delete 'configure)
(replace 'check
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "perl"
"scripts/test/simple_tests.pl"
"--bowtie2=./bowtie2"
"--bowtie2-build=./bowtie2-build")))))))
(home-page "http://bowtie-bio.sourceforge.net/bowtie2/index.shtml")
(synopsis "Fast and sensitive nucleotide sequence read aligner")
(description