guix-patches
[Top][All Lists]
Advanced

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

[bug#48091] [PATCH v6 06/10] gnu: Add python-lunr.


From: Raghav Gururajan
Subject: [bug#48091] [PATCH v6 06/10] gnu: Add python-lunr.
Date: Sat, 1 May 2021 11:05:09 -0400

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 912868f0e8..504b8ec34a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -265,6 +265,30 @@ as functions or string constants to form colored terminal 
output.")
 during long operations.")
     (license license:expat)))
 
+(define-public python-lunr
+  (package
+    (name "python-lunr")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (pypi-uri "lunr" version))
+       (sha256
+        (base32 "106akalywfmnypzkdrhgz4n4740a8xayspybsw59kq06vz8i2qrc"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-nltk" ,python-nltk-3.4)))
+    (home-page
+     "https://github.com/yeraydiazdiaz/lunr.py";)
+    (synopsis "Python implementation of Lunr.js")
+    (description "This package implements full text search capabilities in
+Python.  It provides similar results to Lunr JavaScript.")
+    (license license:expat)))
+
 (define-public python-slixmpp
   (package
     (name "python-slixmpp")
-- 
2.31.1






reply via email to

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