summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-23 20:41:21 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:48 +0100
commit415217d6d6621e0880505d981d337ca60482bc7c (patch)
treeec6efda4f6493e44644d7400c6dea82e9eac1229
parente1da1a3216273aef9622078b4ef19f2809eb835b (diff)
gnu: Add python-asyncodbc.
* gnu/packages/databases.scm (python-asyncodbc): New variable. Change-Id: Ice6a3a6725d45d022ae5ebcbb8df630caf95e9c6 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/databases.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 5deb363095..975b4dd140 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3710,6 +3710,34 @@ reuses most of @code{pymysql} and @code{aiomysql} but rewrites the core
protocol with Cython for performance.")
(license license:asl2.0)))
+(define-public python-asyncodbc
+ (package
+ (name "python-asyncodbc")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tortoise/asyncodbc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fdcvx2r09vsxx3zw8zvj7ww6wyby8sk3r2a3174nfngiajbi6g1"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;tests fail similarly to python-pyodbc
+ (native-inputs
+ (list python-poetry-core
+ unixodbc))
+ (propagated-inputs
+ (list python-pyodbc))
+ (home-page "https://github.com/tortoise/asyncodbc")
+ (synopsis "Access ODBC databases with asyncio")
+ (description "This package provides an improved fork of
+@code{python-aioodbc}, and makes it possible to Access ODBC databases with
+@code{python-asyncio}.")
+ (license license:asl2.0)))
+
(define-public python-aiomysql
(package
(name "python-aiomysql")