From d90b06cc428146347b0f44faf963c03543854a4e Mon Sep 17 00:00:00 2001 From: Pierre-Henry Fröhring Date: Sun, 6 Feb 2022 15:47:23 +0100 Subject: gnu: Add python-aiopg. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-aiopg): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cb50741f0e..e2bb1ca4ef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29274,3 +29274,24 @@ writing STL files. It supports both the text and binary forms of STL.") (description "This package provides a streaming multipart parser for Python.") (license license:asl2.0))) + +(define-public python-aiopg + (package + (name "python-aiopg") + (version "1.3.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "aiopg" version)) + (sha256 + (base32 + "1mwmypsfzh8adjbyvf7kqv9h3k1kf5ykhi1g3ahw4wqdxaj6nz2l")))) + (build-system python-build-system) + (native-inputs (list python-sqlalchemy)) + (propagated-inputs (list python-async-timeout python-psycopg2-binary)) + (home-page "https://aiopg.readthedocs.io") + (synopsis "Postgres integration with asyncio") + (description + "aiopg is a library for accessing a PostgreSQL +database from the asyncio (PEP-3156/tulip) framework. It wraps +asynchronous features of the Psycopg database driver.") + (license license:bsd-3))) -- cgit v1.2.3