summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-05-05 16:41:08 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-05-06 10:15:04 +0200
commitb4da7c213336342c2f345a45d7b2e9105a893638 (patch)
tree288ea5dbb5e30a627092572f9804f32affc17f5d /gnu/packages
parent43992cdbea4d264a8e2aea1905eff98006709fbc (diff)
downloadguix-b4da7c213336342c2f345a45d7b2e9105a893638.tar.gz
gnu: Add python-databases.
* gnu/packages/databases.scm (python-databases): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 4472677ab3..90fbd14844 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3635,6 +3635,29 @@ async versions of all the standard connection and cursor methods, and context
 managers for automatically closing connections.")
     (license license:expat)))
 
+(define-public python-databases
+  (package
+    (name "python-databases")
+    (version "0.5.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "databases" version))
+       (sha256
+        (base32 "0dzb998kg35xmd50ih168320vih2w3ich798r8fc4lf9q4bb1ih2"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-aiosqlite
+           python-aiopg
+           python-aiomysql
+           python-asyncpg
+           python-asyncmy
+           python-sqlalchemy))
+    (home-page "https://github.com/encode/databases")
+    (synopsis "Async database support for Python.")
+    (description "This package implements async database support for Python.")
+    (license license:bsd-3)))
+
 (define-public python2-neo4j-driver
   (package
     (name "python2-neo4j-driver")