This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 3516819a95 gnu: Add emacs-magit-delta.
3516819a95 is described below
commit 3516819a9525e1d497fc9691be7eb65e1fd6c110
Author: Grigory Shepelev <[email protected]>
AuthorDate: Sun Nov 9 09:38:13 2025 +0300
gnu: Add emacs-magit-delta.
* gnu/packages/emacs-xyz.scm (emacs-magit-delta): New variable.
Change-Id: If21f353723e72ef86ba9e847efaf6af2f6d9d686
Modified-by: Cayetano Santos <[email protected]>
Signed-off-by: Cayetano Santos <[email protected]>
---
gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a027904cfe..8b358c7c62 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2707,6 +2707,42 @@ third-party predecessor @code{git-tbdiff}), a Git
subcommand for comparing two
versions of a topic branch.")
(license license:gpl3+)))
+(define-public emacs-magit-delta
+ ;; No releases or tags.
+ (let ((commit "5fc7dbddcfacfe46d3fd876172ad02a9ab6ac616")
+ (revision "0"))
+ (package
+ (name "emacs-magit-delta")
+ (version (git-version "0.1" revision commit))
+ (home-page "https://github.com/dandavison/magit-delta")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1kph5r9dy21pgfknpcdzzqfn6rqig5nvp8ksh16y13k3axlzvkiw"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #f ;no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-delta-executable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "magit-delta.el"
+ ("magit-delta-delta-executable"
+ (search-input-file inputs "/bin/delta"))))))))
+ (propagated-inputs (list emacs-dash emacs-magit emacs-xterm-color))
+ (inputs (list git-delta))
+ (synopsis "Integration of @code{delta} with @code{emacs-magit}")
+ (description "Magit-delta provides a minor mode which configures
+@code{emacs-magit} to use @code{delta} for syntax highlighting when displaying
+diffs.")
+ (license license:expat))))
+
(define-public emacs-malyon
(package
(name "emacs-malyon")