guix-commits
[Top][All Lists]
Advanced

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

05/11: gnu: Add python-nltk@3.4.


From: guix-commits
Subject: 05/11: gnu: Add python-nltk@3.4.
Date: Sun, 2 May 2021 09:06:40 -0400 (EDT)

raghavgururajan pushed a commit to branch master
in repository guix.

commit edc946dde3dee28b63e87bf166ac4064f84203b5
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Wed Apr 28 17:59:39 2021 -0400

    gnu: Add python-nltk@3.4.
    
    * gnu/packages/python-xyz.scm (python-nltk-3.4): New variable.
---
 gnu/packages/python-xyz.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a17a2b1..9dc191d 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))
 



reply via email to

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