@@ -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")