From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGAzJ-0005sZ-QL for guix-patches@gnu.org; Wed, 31 May 2017 17:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGAzH-0003l2-Lx for guix-patches@gnu.org; Wed, 31 May 2017 17:17:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGAzH-0003kp-Ip for guix-patches@gnu.org; Wed, 31 May 2017 17:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGAzH-0000n5-EP for guix-patches@gnu.org; Wed, 31 May 2017 17:17:03 -0400 Subject: bug#27175: [PATCH 4/6] gnu: Add phylip. Resent-Message-ID: From: Ricardo Wurmus Date: Wed, 31 May 2017 23:16:09 +0200 Message-Id: <20170531211611.14094-4-rekado@elephly.net> In-Reply-To: <20170531211611.14094-1-rekado@elephly.net> References: <20170531211611.14094-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27175@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/bioinformatics.scm (phylip): New variable. --- gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 3bab10f8c..55770dea2 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -9351,3 +9351,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))) -- 2.12.2