[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/11] gnu: Add python-nltk.
From: |
David Craven |
Subject: |
[PATCH 04/11] gnu: Add python-nltk. |
Date: |
Mon, 22 Aug 2016 15:20:11 +0200 |
* gnu/packages/python.scm (python-nltk): New variable.
(python2-nltk): New variable.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c184fd3..c1eaf12 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10012,3 +10012,27 @@ binary or text.")
(inputs
`(("python2-enum34" ,python2-enum34)
,@(package-inputs base))))))
+
+(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)
+ (home-page "http://nltk.org/")
+ (synopsis "Natural Language Toolkit")
+ (description "Natural Language Toolkit")
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-nltk))))))
+
+(define-public python2-nltk
+ (let ((base (package-with-python2 (strip-python2-variant python-nltk))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
--
2.9.0
- [PATCH 02/12] import: utils: Symbols from 'license->symbol' have a license: prefix., David Craven, 2016/08/05
- [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/05
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., Leo Famulari, 2016/08/08
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/22
- Re: [PATCH 04/12] gnu: python: Add python-binaryornot., David Craven, 2016/08/22
- [PATCH 01/11] import: utils: Symbols from 'license->symbol' have a license: prefix., David Craven, 2016/08/22
- [PATCH 05/11] gnu: Add python-pymongo., David Craven, 2016/08/22
- [PATCH 06/11] gnu: Add python-sh., David Craven, 2016/08/22
- Re: [PATCH 06/11] gnu: Add python-sh., Danny Milosavljevic, 2016/08/27
- [PATCH 03/11] gnu: Add python-binaryornot., David Craven, 2016/08/22
- [PATCH 04/11] gnu: Add python-nltk.,
David Craven <=
- Re: [PATCH 04/11] gnu: Add python-nltk., Danny Milosavljevic, 2016/08/27
- [PATCH 08/11] gnu: Add python-publicsuffix., David Craven, 2016/08/22
- [PATCH 07/11] gnu: Add python-schematics., David Craven, 2016/08/22
- [PATCH 10/11] gnu: Add python-url., David Craven, 2016/08/22
- [PATCH 09/11] gnu: Add python-publicsuffix2., David Craven, 2016/08/22
- [PATCH 02/11] gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/22
- Re: [PATCH 02/11] gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/26
- [PATCH 11/11] gnu: Add python-ipaddress., David Craven, 2016/08/22
[PATCH 08/12] gnu: python: Add python-schematics., David Craven, 2016/08/05
[PATCH 03/12] gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/05