diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-08 23:26:35 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-08 23:35:46 +0100 |
commit | b55451492742e5632ee0afa0d6ebbe84fb6c6f3d (patch) | |
tree | 842803502f7fcdeeb5cab63f52309ac4d20765b2 | |
parent | bd16175f0fd8290e72f351ab6b82fc628400fd48 (diff) | |
download | guix-b55451492742e5632ee0afa0d6ebbe84fb6c6f3d.tar.gz guix-b55451492742e5632ee0afa0d6ebbe84fb6c6f3d.zip |
gnu: Add python-adbc-driver-manager.
* gnu/packages/databases.scm (python-adbc-driver-manager): New variable.
Change-Id: Idf4056923def64e5603d9fb175126870cbe24624
-rw-r--r-- | gnu/packages/databases.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index d585f88834..e6fabaa223 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -614,6 +614,38 @@ the API, and provides features such as: @end itemize") (license license:bsd-3))) +(define-public python-adbc-driver-manager + (package + (name "python-adbc-driver-manager") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "adbc_driver_manager" version)) + (sha256 + (base32 "00i3zg6rbzdz767j9w22ajw8rxwbhkrmzwwlmx11q56cvnig0cm3")))) + (build-system pyproject-build-system) + (arguments + (list + ;; TODO: Pack arrow-adbc/c/driver/sqlite for tests. + #:tests? #f + #:build-backend "setuptools.build_meta")) + (propagated-inputs + (list python-typing-extensions)) + (native-inputs + (list python-cython-3 + python-pytest)) + (home-page "https://arrow.apache.org/adbc/") + (synopsis "Generic entrypoint for ADBC drivers in Python") + (description + "This package contains bindings for the ADBC Driver Manager, as well as a +@url{https://peps.python.org/pep-0249/,DBAPI 2.0/PEP 249-compatible} interface +on top. This can be used to load ADBC drivers at runtime and use them from +Python. Backend-specific packages like @code{adbc_driver_postgresql} wrap +this package in a more convenient interface, and should be preferred where +they exist.") + (license license:asl2.0))) + (define-public python-prisma (package (name "python-prisma") |