guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 05/12] gnu: python: Add python-nltk.


From: David Craven
Subject: [PATCH 05/12] gnu: python: Add python-nltk.
Date: Fri, 5 Aug 2016 20:37:23 +0200

* 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]