diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-08-17 21:07:35 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-09-02 00:22:06 +0100 |
| commit | 3e17bbe7ebf50942743fca733986153aa59bc629 (patch) | |
| tree | f0f1982bf35395a9bb9412c6e1ca9850f06d6d2c /gnu/packages | |
| parent | d3f5b932a7ffe0ee97bf437daf8d87884c661b23 (diff) | |
gnu: Add python-sqlmodel.
* gnu/packages/databases.scm (python-sqlmodel): New variable.
Relates-to: guix/guix!10625
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/databases.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8b3cf814ad3..5c83dd5950e 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm | |||
| @@ -5558,6 +5558,44 @@ is designed to have a low barrier to entry.") | |||
| 5558 | (Redis Queue).") | 5558 | (Redis Queue).") |
| 5559 | (license license:expat))) | 5559 | (license license:expat))) |
| 5560 | 5560 | ||
| 5561 | (define-public python-sqlmodel | ||
| 5562 | (package | ||
| 5563 | (name "python-sqlmodel") | ||
| 5564 | (version "0.0.37") | ||
| 5565 | (source | ||
| 5566 | (origin | ||
| 5567 | (method git-fetch) | ||
| 5568 | (uri (git-reference | ||
| 5569 | (url "https://github.com/fastapi/sqlmodel") | ||
| 5570 | (commit version))) | ||
| 5571 | (file-name (git-file-name name version)) | ||
| 5572 | (sha256 | ||
| 5573 | (base32 "1kb81a1ffvsvkvi9msblv3sq0s74ww340dxz3rymh5snnxc1pg92")))) | ||
| 5574 | (build-system pyproject-build-system) | ||
| 5575 | (arguments | ||
| 5576 | (list | ||
| 5577 | #:test-flags | ||
| 5578 | ;; Ignore optional tests. | ||
| 5579 | #~(list "--ignore=docs_src" | ||
| 5580 | "--ignore=tests/test_tutorial" | ||
| 5581 | ;; Unclear why this test fails. | ||
| 5582 | "-k" "not test_select_gen"))) | ||
| 5583 | (propagated-inputs | ||
| 5584 | (list python-pydantic | ||
| 5585 | python-sqlalchemy-2 | ||
| 5586 | python-typing-extensions)) | ||
| 5587 | (native-inputs | ||
| 5588 | (list python-dirty-equals | ||
| 5589 | python-pdm-backend | ||
| 5590 | python-pytest)) | ||
| 5591 | (home-page "https://github.com/fastapi/sqlmodel") | ||
| 5592 | (synopsis "SQLModel, SQL databases in Python, designed") | ||
| 5593 | (description | ||
| 5594 | "SQLModel is a library for interacting with SQL databases from | ||
| 5595 | Python code, with Python objects. It is based on Python type | ||
| 5596 | annotations, and powered by Pydantic and SQLAlchemy.") | ||
| 5597 | (license license:expat))) | ||
| 5598 | |||
| 5561 | (define-public python-sqlparse | 5599 | (define-public python-sqlparse |
| 5562 | (package | 5600 | (package |
| 5563 | (name "python-sqlparse") | 5601 | (name "python-sqlparse") |
