guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 659e77bbf9afcc1441afc704f9afddb27d34f5ad
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Dec 22 20:51:03 2025 +0100
gnu: python-sqlite-fts4: Switch to pyproject.
* gnu/packages/databases.scm (python-sqlite-fts4):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: Ibced9b5299bc460df20c4bb689af09f184a5c15a
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/databases.scm | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 428cfcfda3..58ccc452f0 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4467,19 +4467,23 @@ SQLAlchemy Database Toolkit for Python.")
(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))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/simonw/sqlite-fts4")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05c69n4nrc9srkbih1q1wxlw6n9mb3dm7ysb47ipqjn3rp1aif11"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/simonw/sqlite-fts4")
(synopsis "Python functions for working with SQLite FTS4 search")
- (description "This package provides custom SQLite functions written
-in Python for ranking documents indexed using the SQLite's FTS4 full
-text search extension.")
+ (description
+ "This package provides 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-sqlite-utils