From 2aefa6a493750aef601598576337ac7efc879fe8 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Fri, 19 Nov 2021 06:00:48 +0000 Subject: gnu: Add pgcli. * gnu/packages/databases.scm (pgcli): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/databases.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e0b6f03f8a..4d7b090d03 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -676,6 +676,37 @@ auto-completion and syntax highlighting.") \"special\", or \"backslash commands\") on PostgreSQL.") (license license:bsd-3))) +(define-public pgcli + (package + (name "pgcli") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pgcli" version)) + (sha256 + (base32 "1dy6yzak696107pqv83296h0xhc3ahlfaydm80593gwn37krgpkc")))) + (build-system python-build-system) + (propagated-inputs + (list python-cli-helpers + python-click + python-configobj + python-pendulum + python-pgspecial + python-prompt-toolkit + python-psycopg2 + python-pygments + python-setproctitle + python-sqlparse)) + (native-inputs + (list python-ipython-sql)) + (home-page "https://www.pgcli.com") + (synopsis "PostgreSQL CLI with autocompletion and syntax highlighting") + (description + "@code{pgcli} is a command line interface for PostgreSQL with +autocompletion and syntax highlighting.") + (license license:bsd-3))) + (define-public mycli (package (name "mycli") -- cgit 1.4.1