Subject: [PATCH] gnu: Add emacs-goggles

From: Niklas Eklund <[email-masked]>
Date: Tue, 01 Mar 2022 17:54:57 +0000

Hello,

this is a patch which adds the emacs-goggles package.

/Niklas

>From bf1421997b616ea7e4c96a9f3be1f4b8a0cc8918 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <[email-masked]>
Date: Tue, 1 Mar 2022 18:47:25 +0100
Subject: [PATCH] gnu: Add emacs-goggles.

* gnu/packages/emacs-xyz.scm (emacs-goggles): New variable.
---
 gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3b909b8d0d..6a35e905df 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12035,6 +12035,26 @@ (define-public emacs-evil-goggles
 being deleted, changed, yanked, or pasted when using evil commands")
       (license license:gpl3+))))
 
+(define-public emacs-goggles
+  (package
+    (name "emacs-goggles")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/minad/goggles")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "15bqjmwfdqp2np6fln6xjyw59c5iddvzsyga0lvb8raa753cdh2k"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/minad/goggles")
+    (synopsis "Pulse modified region")
+    (description "Highlights the modified region using pulse.  The package
+supports the commands undo, yank, kill and delete")
+    (license license:gpl3+)))
+
 (define-public emacs-goto-chg
   (package
     (name "emacs-goto-chg")
-- 
2.34.0