guix-commits
[Top][All Lists]
Advanced

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

09/14: gnu: Add python-spacy-legacy.


From: guix-commits
Subject: 09/14: gnu: Add python-spacy-legacy.
Date: Thu, 8 Jun 2023 04:38:18 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit e3f148a6df106902bbd4bc943a70c46065d80505
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jun 8 10:00:33 2023 +0200

    gnu: Add python-spacy-legacy.
    
    * gnu/packages/machine-learning.scm (python-spacy-legacy): New variable.
---
 gnu/packages/machine-learning.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index c9bc5e8b68..b2429625a2 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -727,6 +727,27 @@ depend on language-specific pre- or post-processing.")
 unsupervised text tokenizer.")
     (license license:asl2.0)))
 
+(define-public python-spacy-legacy
+  (package
+    (name "python-spacy-legacy")
+    (version "3.0.12")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "spacy-legacy" version))
+              (sha256
+               (base32
+                "0x57aw1qgjrzgapsv1cwymqlck2anqm1bisvryhpq7bfkc66wzdk"))))
+    (build-system pyproject-build-system)
+    ;; This package depends on spacy, which depends on this package.
+    (arguments (list #:tests? #false))
+    (native-inputs (list python-pytest))
+    (home-page "https://spacy.io";)
+    (synopsis "Legacy registered functions for spaCy backwards compatibility")
+    (description
+     "This package contains legacy registered functions for spaCy backwards
+compatibility.")
+    (license license:expat)))
+
 (define-public shogun
   (package
     (name "shogun")



reply via email to

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