mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 02:19:18 -05:00
gnu: Add python-psycopg-pool.
* gnu/packages/databases.scm (python-psycopg-pool): New variable.
This commit is contained in:
parent
8830d9f900
commit
84bcda58fc
1 changed files with 27 additions and 0 deletions
|
@ -3439,6 +3439,33 @@ (define-public python-psycopg2
|
||||||
2.0.")
|
2.0.")
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
|
(define-public python-psycopg-pool
|
||||||
|
(package
|
||||||
|
(name "python-psycopg-pool")
|
||||||
|
;; The connection pooling code is on a different release cadence
|
||||||
|
;; from the driver code, so fetch the latest PyPI release.
|
||||||
|
(version "3.0.3")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "psycopg-pool" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1nx139pwzsgrz253zjxw2sf8h713s79h4cp1falmpc39j08djb46"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:tests? #f ;run for psycopg below
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
;; This module requires 'psycopg', however psycopg needs this
|
||||||
|
;; for its tests. Disable sanity check to break the cycle.
|
||||||
|
(delete 'sanity-check))))
|
||||||
|
(home-page "https://www.psycopg.org/")
|
||||||
|
(synopsis "Connection pooler for psycopg")
|
||||||
|
(description
|
||||||
|
"This module provides connection pool implementations that can be used
|
||||||
|
with the @code{psycopg} PostgreSQL driver.")
|
||||||
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
(define-public python-sadisplay
|
(define-public python-sadisplay
|
||||||
(package
|
(package
|
||||||
(name "python-sadisplay")
|
(name "python-sadisplay")
|
||||||
|
|
Loading…
Reference in a new issue