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

From: Raghav Gururajan <[email-masked]>
Date: Fri, 30 Apr 2021 10:38:54 -0400

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 006ebb1ab0..1300855e07 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -265,6 +265,31 @@ in terminal.")
 progress during long-hanging 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 "Lunar.py aims to bring the simple and powerful full text
+search capabilities into Python, guaranteeing results as close as the original
+implementation as possible.")
+    (license license:expat)))
+
 (define-public python-slixmpp
   (package
     (name "python-slixmpp")
-- 
2.31.1