gnu: Add java-biojava-phylo.

* gnu/packages/bioinformatics.scm (java-biojava-phylo): New variable.
This commit is contained in:
Ricardo Wurmus 2018-03-01 19:41:41 +01:00 committed by Ricardo Wurmus
parent 10645b9212
commit b28c803708
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -12176,3 +12176,39 @@ (define-public java-biojava-core
This package provides the core libraries.")
(license license:lgpl2.1+)))
(define-public java-biojava-phylo
(package (inherit java-biojava-core)
(name "java-biojava-phylo")
(build-system ant-build-system)
(arguments
`(#:jdk ,icedtea-8
#:jar-name "biojava-phylo.jar"
#:source-dir "biojava-phylo/src/main/java/"
#:test-dir "biojava-phylo/src/test"
#:phases
(modify-phases %standard-phases
(add-before 'build 'copy-resources
(lambda _
(copy-recursively "biojava-phylo/src/main/resources"
"build/classes")
#t))
(add-before 'check 'copy-test-resources
(lambda _
(copy-recursively "biojava-phylo/src/test/resources"
"build/test-classes")
#t)))))
(propagated-inputs
`(("java-log4j-api" ,java-log4j-api)
("java-log4j-core" ,java-log4j-core)
("java-slf4j-api" ,java-slf4j-api)
("java-slf4j-simple" ,java-slf4j-simple)
("java-biojava-core" ,java-biojava-core)
("java-forester" ,java-forester)))
(native-inputs
`(("java-junit" ,java-junit)
("java-hamcrest-core" ,java-hamcrest-core)))
(home-page "http://biojava.org")
(synopsis "Biojava interface to the forester phylogenomics library")
(description "The phylo module provides a biojava interface layer to the
forester phylogenomics library for constructing phylogenetic trees.")))