[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30884] [PATCH 1/6] gnu: Add emacs-pg.
From: |
Oleg Pykhalov |
Subject: |
[bug#30884] [PATCH 1/6] gnu: Add emacs-pg. |
Date: |
Tue, 20 Mar 2018 19:33:05 +0300 |
* gnu/packages/emacs.scm (emacs-pg): New public variable.
---
gnu/packages/emacs.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index da366441b..77796b03f 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7406,3 +7406,31 @@ the same values you get in a terminal.")
"Deft is an Emacs mode for quickly browsing, filtering, and editing
directories of plain text notes, inspired by Notational Velocity.")
(license license:bsd-3)))
+
+(define-public emacs-pg
+ (let ((commit "4f6516ec3946d95dcef49abb6703cc89ecb5183d"))
+ (package
+ (name "emacs-pg")
+ (version (git-version "0.1" "1" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cbbrowne/pg.el.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1zh7v4nnpzvbi8yj1ynlqlawk5bmlxi6s80b5f2y7hkdqb5q26k0"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/cbbrowne/pg.el.git")
+ (synopsis "Emacs Lisp interface for PostgreSQL")
+ (description
+ "This package provides an Emacs Lisp interface for PostgreSQL.
+
+This module lets you access the PostgreSQL object-relational DBMS from Emacs,
+using its socket-level frontend/backend protocol. The module is capable of
+automatic type coercions from a range of SQL types to the equivalent Emacs
+Lisp type. This is a low level API, and won't be useful to end users. Should
+work with GNU Emacs 19.34 and up, and XEmacs 20 and up. Performance is very
+poor when not byte-compiled.")
+ (license license:gpl3+))))
--
2.16.2
- [bug#30884] [PATCH 0/6] gnu: Add emacs-epkg., Oleg Pykhalov, 2018/03/20
- [bug#30884] [PATCH 1/6] gnu: Add emacs-pg.,
Oleg Pykhalov <=
- [bug#30884] [PATCH 3/6] gnu: Add emacs-finalize., Oleg Pykhalov, 2018/03/20
- [bug#30884] [PATCH 4/6] gnu: Add emacs-emacsql., Oleg Pykhalov, 2018/03/20
- [bug#30884] [PATCH 5/6] gnu: Add emacs-closql., Oleg Pykhalov, 2018/03/20
- [bug#30884] [PATCH 6/6] gnu: Add emacs-epkg., Oleg Pykhalov, 2018/03/20
- [bug#30884] [PATCH 2/6] gnu: Add emacs-cl-generic., Oleg Pykhalov, 2018/03/20
- [bug#30884] guix lint produces warnings, Oleg Pykhalov, 2018/03/20