guix_mirror_bot pushed a commit to branch master
in repository guix.

commit df136dfd477bf0c4bd2cecf5f34af2a104a31fa8
Author: buffersquid <[email protected]>
AuthorDate: Sat Oct 24 11:09:59 2026 -0700

    gnu: Add guile-schemefmt
    
    Signed-off-by: Ludovic Courtès <[email protected]>
    Merges: #12068
---
 gnu/packages/guile-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 4146c0a3b4b..ae8af25b8ed 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -62,6 +62,7 @@
 ;;; Copyright © 2026 Matt Wette <[email protected]>
 ;;; Copyright © 2026 Dzianis Jackievič <[email protected]>
 ;;; Copyright © 2026 Thomas Bennett <[email protected]>
+;;; Copyright © 2026 Samuel Sehnert <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8219,6 +8220,36 @@ provides API for reading and writing INI data.")
 TOML documents.")
     (license license:gpl3)))
 
+(define-public guile-schemefmt
+  (package
+   (name "guile-schemefmt")
+   (version "0.0.0")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://git.sr.ht/~campbellr/guile-schemefmt";)
+           (commit "e732d99c92bb71586c771cf3f55e7dc468a811b4")))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32 "07ma2cjqf73p3lqyibgvkp4mb8r10ag22h0gka75c11m025va7j9"))))
+   (build-system gnu-build-system)
+   (native-inputs
+    (list autoconf automake pkg-config guile-next))
+   (synopsis "Scheme source formatter, port of Emacs scheme-mode")
+   (description
+    "guile-schemefmt is a command-line filter and Guile library that
+re-indents Scheme source code to match the output of Emacs'
+@code{scheme-mode}.  The algorithm is a direct port of
+@code{scheme.el} and @code{lisp-mode.el}, so a project's
+@code{scheme-indent-function} rules can be expressed in a small
+native config file (@file{.lispwords}) and fed to the tool for
+per-project customisation.  Suitable for use as a Vim
+@code{equalprg} filter, a pre-commit formatter, or a library
+callable from the Guile REPL.")
+   (home-page "https://git.sr.ht/~campbellr/guile-schemefmt";)
+   (license license:gpl3+)))
+
 (define-public guile-schemetran
   (let ((commit "3f5e15273ee88ba60ad8caf2de6302ad2bab582b")
         (revision "1"))

Reply via email to