gnu: Add python-pgspecial.

* gnu/packages/databases.scm (python-pgspecial): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Foo Chuan Wei 2022-01-14 10:09:55 +01:00 committed by Nicolas Goaziou
parent f4fc8546f3
commit 8255e899b1
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -54,6 +54,7 @@
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -654,6 +655,27 @@ (define-public litecli
auto-completion and syntax highlighting.")
(license license:bsd-3)))
(define-public python-pgspecial
(package
(name "python-pgspecial")
(version "1.13.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pgspecial" version))
(sha256
(base32 "00ddkf565rjcxmfml1z4mmkns1aq8x5s5g85xmnz2scln42y4irq"))))
(build-system python-build-system)
(propagated-inputs
(list python-click python-sqlparse python-psycopg2))
(home-page "https://github.com/dbcli/pgspecial")
(synopsis
"Python implementation of PostgreSQL meta commands (backslash commands)")
(description
"This Python package provides an API to execute meta-commands (AKA
\"special\", or \"backslash commands\") on PostgreSQL.")
(license license:bsd-3)))
(define-public mycli
(package
(name "mycli")