gnu: Add phylip.

* gnu/packages/bioinformatics.scm (phylip): New variable.
This commit is contained in:
Ricardo Wurmus 2017-04-13 14:21:27 +02:00
parent 3420c905cd
commit 282b01515b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 37 additions and 0 deletions

View File

@ -9389,3 +9389,40 @@ novo exon-skipping events directly from raw RNA-seq data without the prior
knowledge of gene annotation information. GESS stands for the graph-based
exon-skipping scanner detection scheme.")
(license license:bsd-3)))
(define-public phylip
(package
(name "phylip")
(version "3.696")
(source
(origin
(method url-fetch)
(uri (string-append "http://evolution.gs.washington.edu/phylip/"
"download/phylip-" version ".tar.gz"))
(sha256
(base32
"01jar1rayhr2gba2pgbw49m56rc5z4p5wn3ds0m188hrlln4a2nd"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target
#:make-flags (list "-f" "Makefile.unx" "install")
#:parallel-build? #f ; not supported
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'enter-dir
(lambda _ (chdir "src") #t))
(delete 'configure)
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((target (string-append (assoc-ref outputs "out")
"/bin")))
(mkdir-p target)
(for-each (lambda (file)
(install-file file target))
(find-files "../exe" ".*")))
#t)))))
(home-page "http://evolution.genetics.washington.edu/phylip/")
(synopsis "Tools for inferring phylogenies")
(description "PHYLIP (the PHYLogeny Inference Package) is a package of
programs for inferring phylogenies (evolutionary trees).")
(license license:bsd-2)))