~ruther/guix-local

7479cdfd01049bf853782715e6c5b27ec3ee4637 — Janneke Nieuwenhuizen 8 months ago c20d9d6
gnu: Add python-sqltrie.

* gnu/packages/python-xyz.scm (python-sqltrie): New variable.

Change-Id: Idb11ca5d9e94c90957046e0797b4e3b7147710b5
1 files changed, 38 insertions(+), 0 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +38 -0
@@ 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")