summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-04-28 17:26:14 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2021-05-02 07:45:26 -0400
commite0f74524a1caf0bdf2f797023237630091e3b02a (patch)
tree10d8729369dd1ae0460b093712fc946d3ef925cc
parent6d7e1bdb03c3b34b306ff02cfb1fe327a56644b2 (diff)
downloadguix-e0f74524a1caf0bdf2f797023237630091e3b02a.tar.gz
gnu: python-nltk: Update to 3.6.2.
This version is only available in zip format.

* gnu/packages/python-xyz.scm (python-nltk)[version]: Update to 3.6.2.
[uri]: Use zip extension.
[native-inputs]: Add unzip.
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aab53bd869..a17a2b11b1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15053,18 +15053,20 @@ extracting firmware images")
 (define-public python-nltk
   (package
     (name "python-nltk")
-    (version "3.2.1")
+    (version "3.6.2")
     (source (origin
               (method url-fetch)
-              (uri (pypi-uri "nltk" version))
+              (uri (pypi-uri "nltk" version ".zip"))
               (sha256
                (base32
-                "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym"))))
+                "1sq32lwgij9h8rsksymnxxr7bqfw3vgx5ijw4azbj6k2xnmmdmap"))))
     (build-system python-build-system)
     (arguments
      '(;; The tests require some extra resources to be downloaded.
        ;; TODO Try packaging these resources.
        #:tests? #f))
+    (native-inputs
+     `(("unzip" ,unzip)))
     (home-page "http://nltk.org/")
     (synopsis "Natural Language Toolkit")
     (description "It provides interfaces to over 50 corpora and lexical