diff options
author | Raghav Gururajan <rg@raghavgururajan.name> | 2021-04-28 17:59:39 -0400 |
---|---|---|
committer | Raghav Gururajan <rg@raghavgururajan.name> | 2021-05-02 07:45:26 -0400 |
commit | edc946dde3dee28b63e87bf166ac4064f84203b5 (patch) | |
tree | e00009d0572ce922c00c3d6d93adf9c62f97a802 /gnu/packages/python-xyz.scm | |
parent | e0f74524a1caf0bdf2f797023237630091e3b02a (diff) | |
download | guix-edc946dde3dee28b63e87bf166ac4064f84203b5.tar.gz guix-edc946dde3dee28b63e87bf166ac4064f84203b5.zip |
gnu: Add python-nltk@3.4.
* gnu/packages/python-xyz.scm (python-nltk-3.4): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a17a2b11b1..9dc191dcb5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15075,6 +15075,19 @@ for classification, tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for natural language processing libraries.") (license license:asl2.0))) +;; Versions >=3.5 breaks backward-compatibility, +;; so we keep version 3.4.x around for a while. +(define-public python-nltk-3.4 + (package + (inherit python-nltk) + (version "3.4.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nltk" version ".zip")) + (sha256 + (base32 "153x2clrnigs74jdgnn3qmljdjj4gprmvpdvh49i18ls4m8mbm5y")))))) + (define-public python2-nltk (package-with-python2 python-nltk)) |