guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: Add emacs-format-all-the-code.


From: guix-commits
Subject: 02/02: gnu: Add emacs-format-all-the-code.
Date: Sat, 27 Apr 2024 07:07:13 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit 8d29f416a9378d30f63c2a95f1bd1a420d9ccab4
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Sat Apr 27 12:47:56 2024 +0200

    gnu: Add emacs-format-all-the-code.
    
    * gnu/packages/emacs-xyz.scm (emacs-format-all-the-code): New variable.
    
    Change-Id: I7c6cfae8d881a545ed683324823a71ba2bdd3e79
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5dfd14d873..4abdf8502f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3253,6 +3253,31 @@ programming language used in an Emacs buffer.")
     (home-page "https://github.com/lassik/emacs-language-id";)
     (license license:isc)))
 
+(define-public emacs-format-all-the-code
+  (package
+    (name "emacs-format-all-the-code")
+    (version "0.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url 
"https://github.com/lassik/emacs-format-all-the-code.git";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1p8bh96yksbpajx2pqxjc4vf7nfncwc3mvh1fcj8afw53g72is8m"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-inheritenv emacs-language-id))
+    (synopsis "Auto-format any source code")
+    (description "This package lets you auto-format source code in many
+languages using the same command for all languages, instead of learning
+a different Emacs package and formatting command for each language.
+Over 70 languages are supported, including Emacs Lisp, Kotlin, Go and
+Rust.")
+    (home-page "https://github.com/lassik/emacs-format-all-the-code";)
+    (license license:expat)))
+
 (define-public emacs-relative-buffers
   (let ((release "0.0.1")
         (revision "0")



reply via email to

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