* [PATCH] gnu: Add newick-utils.
@ 2016-11-27 3:12 Ben Woodcroft
2016-11-27 9:29 ` Marius Bakke
0 siblings, 1 reply; 3+ messages in thread
From: Ben Woodcroft @ 2016-11-27 3:12 UTC (permalink / raw)
To: guix-devel
* gnu/packages/bioinformatics.scm (newick-utils): New variable.
---
gnu/packages/bioinformatics.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8d2cb93..f04acc0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -50,6 +50,7 @@
#:use-module (gnu packages documentation)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages file)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gd)
@@ -3472,6 +3473,45 @@ program for nucleotide and protein sequences.")
;; License information found in 'muscle -h' and usage.cpp.
(license license:public-domain)))
+(define-public newick-utils
+ ;; There are no recent releases so we package from git.
+ (let ((commit "da121155a977197cab9fbb15953ca1b40b11eb87"))
+ (package
+ (name "newick-utils")
+ (version (string-append "1.6-1." (string-take commit 8)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tjunier/newick_utils.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1hkw21rq1mwf7xp0rmbb2gqc0i6p11108m69i7mr7xcjl268pxnb"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'autoconf
+ (lambda _ (zero? (system* "autoreconf" "-vif")))))))
+ (inputs
+ ;; XXX: TODO: Enable Lua and Guile bindings.
+ ;; https://github.com/tjunier/newick_utils/issues/13
+ `(("libxml2" ,libxml2)
+ ("flex" ,flex)
+ ("bison" ,bison)))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (synopsis "Programs for working with newick format phylogenetic trees")
+ (description
+ "Newick-utils is a suite of utilities for processing phylogenetic trees
+in Newick format. Functions include re-rooting, extracting subtrees,
+trimming, pruning, condensing, drawing (ASCII graphics or SVG).")
+ (home-page "https://github.com/tjunier/newick_utils")
+ (license license:bsd-3))))
+
(define-public orfm
(package
(name "orfm")
--
2.10.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add newick-utils.
2016-11-27 3:12 [PATCH] gnu: Add newick-utils Ben Woodcroft
@ 2016-11-27 9:29 ` Marius Bakke
2016-11-27 23:03 ` Ben Woodcroft
0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2016-11-27 9:29 UTC (permalink / raw)
To: Ben Woodcroft, guix-devel
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
Ben Woodcroft <donttrustben@gmail.com> writes:
> * gnu/packages/bioinformatics.scm (newick-utils): New variable.
> ---
> gnu/packages/bioinformatics.scm | 40 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
LGTM!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add newick-utils.
2016-11-27 9:29 ` Marius Bakke
@ 2016-11-27 23:03 ` Ben Woodcroft
0 siblings, 0 replies; 3+ messages in thread
From: Ben Woodcroft @ 2016-11-27 23:03 UTC (permalink / raw)
To: Marius Bakke, Ben Woodcroft, guix-devel
On 27/11/16 19:29, Marius Bakke wrote:
> Ben Woodcroft <donttrustben@gmail.com> writes:
>
>> * gnu/packages/bioinformatics.scm (newick-utils): New variable.
>> ---
>> gnu/packages/bioinformatics.scm | 40 ++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 40 insertions(+)
> LGTM!
Thanks, pushed as "9926875572cf2936b7f23fb291328bfa68c038c6".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-27 23:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-27 3:12 [PATCH] gnu: Add newick-utils Ben Woodcroft
2016-11-27 9:29 ` Marius Bakke
2016-11-27 23:03 ` Ben Woodcroft
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.