From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51963@debbugs.gnu.org
Subject: [bug#51963] [PATCH 4/4] gnu: Add pgcli.
Date: Fri, 19 Nov 2021 06:00:48 +0000 [thread overview]
Message-ID: <PU1PR01MB2155A4BD24BA6D00F43ED2AD8D9C9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <PU1PR01MB2155E250F97582738ED2FDD38D9C9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com>
* gnu/packages/databases.scm (pgcli): New variable.
---
gnu/packages/databases.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 5636d717b6..ee5ca569d9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -639,6 +639,37 @@ replacement for the code@{python-memcached} library.")
\"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
+ `(("python-cli-helpers" ,python-cli-helpers)
+ ("python-click" ,python-click)
+ ("python-configobj" ,python-configobj)
+ ("python-pendulum" ,python-pendulum)
+ ("python-pgspecial" ,python-pgspecial)
+ ("python-prompt-toolkit" ,python-prompt-toolkit)
+ ("python-psycopg2" ,python-psycopg2)
+ ("python-pygments" ,python-pygments)
+ ("python-setproctitle" ,python-setproctitle)
+ ("python-sqlparse" ,python-sqlparse)))
+ (native-inputs
+ `(("python-ipython-sql" ,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")
--
2.25.1
next prev parent reply other threads:[~2021-11-19 6:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 5:41 [bug#51963] [PATCH 0/4] gnu: Add pgcli Foo Chuan Wei
2021-11-19 5:58 ` [bug#51963] [PATCH 1/4] gnu: python-pendulum: Add setup.py to fix build Foo Chuan Wei
2021-11-19 5:59 ` [bug#51963] [PATCH 2/4] gnu: Add python-pgspecial Foo Chuan Wei
2021-11-19 6:00 ` [bug#51963] [PATCH 3/4] gnu: Add python-ipython-sql Foo Chuan Wei
2021-11-19 6:00 ` Foo Chuan Wei [this message]
2022-01-14 9:20 ` bug#51963: [PATCH 0/4] gnu: Add pgcli Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PU1PR01MB2155A4BD24BA6D00F43ED2AD8D9C9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
--to=chuanwei.foo@hotmail.com \
--cc=51963@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).