Subject: [bug#48091] [PATCH v2 06/11] gnu: Add [email-masked].

From: Raghav Gururajan <[email-masked]>
Date: Fri, 30 Apr 2021 07:34:33 -0400

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7e8f0c911c..16f2055339 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15061,6 +15061,21 @@ 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
+        (string-append "https://github.com/nltk/nltk/"
+                       "archive/refs/tags/" version ".tar.gz"))
+       (sha256
+        (base32 "1d2cqbc1k6qgd27vfhgd3isn7wknqsgp50vx67m29zd6wgmxq9px"))))))
+
 (define-public python2-nltk
   (package-with-python2 python-nltk))
 
-- 
2.31.1