guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 7479cdfd01049bf853782715e6c5b27ec3ee4637
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Sep 4 14:12:55 2025 +0200

    gnu: Add python-sqltrie.
    
    * gnu/packages/python-xyz.scm (python-sqltrie): New variable.
    
    Change-Id: Idb11ca5d9e94c90957046e0797b4e3b7147710b5
---
 gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7e095c6643..67ea589d47 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27651,6 +27651,44 @@ Examples are:
         (base32 "1chgi60z3c97m9l23vf5cpyp0nidkqlpxc55q5k5pz41ms3d0440"))
        (file-name (git-file-name name version))))))
 
+(define-public python-sqltrie
+  (package
+    (name "python-sqltrie")
+    (version "0.11.2")
+    (home-page "https://github.com/iterative/sqltrie/";)
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sqltrie" version))
+       (sha256
+        (base32 "1ninmia5ka1nnv4gxqacvbmkfxwc7dilw141rxxk9zmbnf4p1x2d"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs
+     (list python-attrs
+           python-orjson
+           python-pygtrie))
+    (native-inputs
+     (list python-mypy
+           python-pytest
+           python-pytest-benchmark
+           python-pytest-cov
+           python-pytest-mock
+           python-pytest-sugar
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (arguments
+     (list
+      #:test-flags
+      ;; <https://github.com/pyinstaller/pyinstaller> is not packaged yet in
+      ;; Guix.
+      #~(list "--ignore=src/sqltrie/__pyinstaller")))
+    (synopsis "SQL-based prefix tree for Python")
+    (description
+     "Sqltrie is a SQL-based prefix tree inspired by pygtrie and
+python-diskcache.")
+    (license license:asl2.0)))
+
 (define-public python-isoweek
   (package
     (name "python-isoweek")

Reply via email to