From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 05/12] gnu: python: Add python-nltk. Date: Fri, 5 Aug 2016 20:37:23 +0200 Message-ID: <20160805183730.19049-5-david@craven.ch> References: <20160805183730.19049-2-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVk0q-0001ZO-2j for guix-devel@gnu.org; Fri, 05 Aug 2016 14:38:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVk0n-0008SJ-GF for guix-devel@gnu.org; Fri, 05 Aug 2016 14:38:27 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:43983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVk0m-0008Om-90 for guix-devel@gnu.org; Fri, 05 Aug 2016 14:38:25 -0400 In-Reply-To: <20160805183730.19049-2-david@craven.ch> 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 Cc: David Craven * gnu/packages/python.scm (python-nltk): New package. (python2-nltk): New package. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index bea635c..c480bc4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9838,3 +9838,24 @@ binary or text.") (propagated-inputs `(("python2-enum34" ,python2-enum34) ,@(package-propagated-inputs binaryornot)))))) + +(define-public python-nltk + (package + (name "python-nltk") + (version "3.2.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "nltk" version)) + (sha256 + (base32 + "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://nltk.org/") + (synopsis "Natural Language Toolkit") + (description "Natural Language Toolkit") + (license license:asl2.0))) + +(define-public python2-nltk + (package-with-python2 python-nltk)) -- 2.9.0