From 2c3eb4b85be765dadcb19d65507063de4cc9dde7 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Tue, 4 Oct 2016 21:58:28 +1000 Subject: gnu: metabat: Update to 0.32.4-1.cbdca756. * gnu/packages/bioinformatics.scm (metabat): Update to 0.32.4-1.cbdca756. * gnu/packages/patches/metabat-remove-compilation-date.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/packages/bioinformatics.scm | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'gnu/packages/bioinformatics.scm') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index cf20057bcd..ac46fe4bcc 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3221,18 +3221,23 @@ form of assemblies or reads.") license:cpl1.0)))) ; Open Bloom Filter (define-public metabat - (package - (name "metabat") - (version "0.26.3") - (source (origin - (method url-fetch) - (uri (string-append - "https://bitbucket.org/berkeleylab/metabat/get/" - version ".tar.bz2")) - (file-name (string-append name "-" version ".tar.bz2")) - (sha256 - (base32 - "1vpfvgsn8wdsv1g7z73zxcncskx7dy7bw5msg1hhibk25ay11pyg")))) + ;; We package from a git commit because compilation of the released version + ;; fails. + (let ((commit "cbdca756993e66ae57e50a27970595dda9cbde1b")) + (package + (name "metabat") + (version (string-append "0.32.4-1." (string-take commit 8))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://bitbucket.org/berkeleylab/metabat.git") + (commit commit))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "0byia8nsip6zvc4ha0qkxkxxyjf4x7jcvy48q2dvb0pzr989syzr")) + (patches (search-patches "metabat-remove-compilation-date.patch")))) (build-system gnu-build-system) (arguments `(#:phases @@ -3299,7 +3304,7 @@ enables the study of individual organisms and their interactions. MetaBAT is an automated metagenome binning software, which integrates empirical probabilistic distances of genome abundance and tetranucleotide frequency.") (license (license:non-copyleft "file://license.txt" - "See license.txt in the distribution.")))) + "See license.txt in the distribution."))))) (define-public minced (package -- cgit v1.2.3