guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51963] [PATCH 4/4] gnu: Add pgcli.


From: Foo Chuan Wei
Subject: [bug#51963] [PATCH 4/4] gnu: Add pgcli.
Date: Fri, 19 Nov 2021 06:00:48 +0000

* 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]