Subject: [PATCH 2/8] gnu: Add python-sqlite-fts4.

From: Felix Gruber <[email-masked]>
Date: Sun, 15 Jan 2023 21:51:32 +0000

* gnu/packages/databases.scm (python-sqlite-fts4): New variable.
---
 gnu/packages/databases.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 2a66efb2a0..375d34b051 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3557,6 +3557,24 @@ (define-public python-alembic
 SQLAlchemy Database Toolkit for Python.")
     (license license:expat)))
 
+(define-public python-sqlite-fts4
+  (package
+    (name "python-sqlite-fts4")
+    (version "1.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "sqlite-fts4" version))
+              (sha256
+               (base32
+                "034kx0ac556sywy1p4qcrc36l24w3q0xwswqv2z9s3k8yvm5xc3q"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest))
+    (home-page "https://github.com/simonw/sqlite-fts4")
+    (synopsis "Python functions for working with SQLite FTS4 search")
+    (description "Custom SQLite functions written in Python for ranking
+documents indexed using the SQLite's FTS4 full text search extension.")
+    (license license:asl2.0)))
+
 (define-public python-pickleshare
   (package
     (name "python-pickleshare")
-- 
2.38.1