[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add emacs-apheleia.
From: |
guix-commits |
Subject: |
03/04: gnu: Add emacs-apheleia. |
Date: |
Mon, 14 Oct 2019 17:08:52 -0400 (EDT) |
leungbk pushed a commit to branch master
in repository guix.
commit 100f3ccb736cdc77728af1f739ea82cc9da4b30c
Author: Brian Leung <address@hidden>
Date: Mon Oct 14 13:55:21 2019 -0700
gnu: Add emacs-apheleia.
* gnu/packages/emacs-xyz.scm (emacs-apheleia): New variable.
---
gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 09ade9e..9a80188 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2420,6 +2420,28 @@ display and behaviour is easily customisable.")
window.")
(license license:gpl3+))))
+(define-public emacs-apheleia
+ (package
+ (name "emacs-apheleia")
+ (version "1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/raxod502/apheleia.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04pls7zahy4jfkikv6fvd9vfpm4glhyanmmkx79hgi9pwdv966rf"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/raxod502/apheleia")
+ (synopsis "Reformat buffer stably")
+ (description
+ "This package allows for a buffer to be reformatted without moving point,
+so that running a formatting tool like @code{Prettier} or @code{Black} upon
+saving won't move point back to the beginning of the buffer.")
+ (license license:gpl3+)))
+
(define-public emacs-git-timemachine
(package
(name "emacs-git-timemachine")