guix-commits
[Top][All Lists]
Advanced

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

06/11: gnu: Add python-lunr.


From: guix-commits
Subject: 06/11: gnu: Add python-lunr.
Date: Sun, 2 May 2021 09:06:40 -0400 (EDT)

raghavgururajan pushed a commit to branch master
in repository guix.

commit caf84530e0a85d5ad4091582832ac303cfc14abe
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Wed Apr 28 15:23:13 2021 -0400

    gnu: Add python-lunr.
    
    * 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 9dc191d..ec45958 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -265,6 +265,31 @@ 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 "Full-text search library")
+    (description "This package provides python library for full-text search.
+It indexes documents and provides a search interface for retrieving documents
+that best match text queries.")
+    (license license:expat)))
+
 (define-public python-slixmpp
   (package
     (name "python-slixmpp")



reply via email to

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