From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 13/22] gnu: Add mcl. Date: Wed, 27 Jul 2016 22:54:14 +1000 Message-ID: <59dc603e19f15007a05198ddb4a3f6ec09d90a8b.1469622379.git.donttrustben@gmail.com> References: <20160727125423.7768-1-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMt-00009t-Sj for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSOMr-0004YH-Eh for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:23 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:36590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMr-0004Y6-7u for guix-devel@gnu.org; Wed, 27 Jul 2016 08:55:21 -0400 Received: by mail-pf0-x243.google.com with SMTP id y134so1835566pfg.3 for ; Wed, 27 Jul 2016 05:55:20 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id o80sm9177941pfa.67.2016.07.27.05.55.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 05:55:19 -0700 (PDT) In-Reply-To: <20160727125423.7768-1-donttrustben@gmail.com> In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/machine-learning.scm (mcl): New variable. --- gnu/packages/machine-learning.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 2ccf0f2..3f2e502 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -33,6 +33,7 @@ #:use-module (gnu packages dejagnu) #:use-module (gnu packages gcc) #:use-module (gnu packages maths) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages statistics) @@ -200,6 +201,32 @@ Markov Models} (HMM) and algorithms: discrete, continous emissions, basic training, HMM clustering, HMM mixtures.") (license license:lgpl2.0+)))) +(define-public mcl + (package + (name "mcl") + (version "14.137") + (source (origin + (method url-fetch) + (uri (string-append + "http://micans.org/mcl/src/mcl-" + (string-replace-substring version "." "-") + ".tar.gz")) + (sha256 + (base32 + "15xlax3z31lsn62vlg94hkm75nm40q4679amnfg13jm8m2bnhy5m")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list "--enable-blast"))) + (inputs + `(("perl" ,perl))) + (home-page "http://micans.org/mcl/") + (synopsis "Clustering algorithm for graphs") + (description + "The MCL algorithm is short for the @dfn{Markov Cluster Algorithm}, a +fast and scalable unsupervised cluster algorithm for graphs (also known as +networks) based on simulation of (stochastic) flow in graphs.") + (license license:gpl3))) + (define-public randomjungle (package (name "randomjungle") -- 2.9.1