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

View File

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