unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67352] [PATCH] gnu: Add emacs-sql-indent.
@ 2023-11-21 22:32 Ian Eure
  2024-01-04 11:34 ` bug#67352: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Eure @ 2023-11-21 22:32 UTC (permalink / raw)
  To: 67352; +Cc: Ian Eure, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler

* gnu/packages/emacs-xyz.scm (emacs-sql-indent): New variable.

Change-Id: I56a5f1c2e5256ed2ebcfe58ff99faffe49bf8519
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 90fe9fceeb..07d9ee280f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22444,6 +22444,30 @@ (define-public emacs-closql
 add any additional instance slots.")
     (license license:gpl3)))
 
+(define-public emacs-sql-indent
+  (package
+    (name "emacs-sql-indent")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/sql-indent-" version
+                           ".tar"))
+       (sha256
+        (base32 "043qcy97a5hx68w0ac7xsk380l2i7bphgrdz6aby2zfpp90vrjpn"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/alex-hhh/emacs-sql-indent")
+    (synopsis "Support for indenting code in SQL files")
+    (description
+     "This package provides a minor mode that enables syntax-based indentation for
+@code{sql-mode} buffers: the TAB key indents the current line based on the SQL code on
+previous lines.  To setup syntax-based indentation for every SQL buffer, add
+@code{sqlind-minor-mode} to @code{sql-mode-hook}.  Indentation rules are flexible and can
+be customized to match your personal coding style.  For more information, see
+the \"sql-indent.org\" file.  The package also defines align rules so that the
+align function works for SQL statements, see @code{sqlind-align-rules}.")
+    (license license:gpl3+)))
+
 (define-public emacs-epkg
   (package
     (name "emacs-epkg")

base-commit: 42be8fa560a7554ac35801b46c3a0a007fd742ce
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67352: [PATCH] gnu: Add emacs-sql-indent.
  2023-11-21 22:32 [bug#67352] [PATCH] gnu: Add emacs-sql-indent Ian Eure
@ 2024-01-04 11:34 ` Nicolas Goaziou via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-01-04 11:34 UTC (permalink / raw)
  To: Ian Eure
  Cc: Katherine Cox-Buday, Liliana Marie Prikler, 67352-done,
	Andrew Tropin

Hello,

Ian Eure <ian@retrospec.tv> writes:

> * gnu/packages/emacs-xyz.scm (emacs-sql-indent): New variable.

Applied. Thank you.

I truncated description and removed parts of it that should belong to
the manual instead.

Regards,
-- 
Nicolas Goaziou






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-04 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 22:32 [bug#67352] [PATCH] gnu: Add emacs-sql-indent Ian Eure
2024-01-04 11:34 ` bug#67352: " Nicolas Goaziou via Guix-patches via

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).