Subject: [PATCH] gnu: Add emacs-delight.
From: Amin Bandali <[email-masked]>
To: [email-masked]
Cc: Amin Bandali <[email-masked]>
Date: Mon, 27 Jan 2020 18:52:45 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-delight): 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 c5214405d0..3c6edbad3f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21125,3 +21125,25 @@ pattern guessed from thing under current cursor position.
 mercury-mode provided by Emacs as a wrapper around prolog-mode.")
       (home-page "https://github.com/ahungry/metal-mercury-mode")
       (license license:gpl3+))))
+
+(define-public emacs-delight
+  (let ((commit "05ef4d7d1a371884defcb47e881904f2a25a40b7")
+        (revision "0"))
+    (package
+      (name "emacs-delight")
+      (version (git-version "1.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.savannah.gnu.org/git/delight.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0z4p8bl2sac2zdmx2bbzzcb09y7bxbbr1r6x6b68w2swngkm9rac"))))
+      (build-system emacs-build-system)
+      (home-page "https://elpa.gnu.org/packages/delight.html")
+      (synopsis "Dimmer switch for your mode-line lighter text")
+      (description "@code{delight} enables customizing or hiding the
+mode-line text (lighter) of major and minor modes.")
+      (license license:gpl3+))))
-- 
2.25.0