gnu: Add python-aiopg.

* gnu/packages/python-xyz.scm (python-aiopg): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Pierre-Henry Fröhring 2022-02-06 15:47:23 +01:00 committed by Ludovic Courtès
parent 66cd0ce176
commit d90b06cc42
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -29274,3 +29274,24 @@ (define-public python-multipart
(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)))