From 7479cdfd01049bf853782715e6c5b27ec3ee4637 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 4 Sep 2025 14:12:55 +0200 Subject: [PATCH] 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 7e095c6643856606728e29be003d7b8eccdfe19a..67ea589d473e1194e86916d5f3adc67730e90cfd 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 + ;; 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")