Subject: [PATCH] gnu: Add emacs-nyan-mode.

From: Liliana Marie Prikler <[email-masked]>
Date: Thu, 10 Feb 2022 21:56:49 +0100

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 92c247ca38..f4101e88f0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5592,6 +5592,30 @@ (define-public emacs-mode-line-idle
 configuration.")
       (license license:gpl3+))))
 
+(define-public emacs-nyan-mode
+  (package
+    (name "emacs-nyan-mode")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/nyan-mode-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "1hd3g1lnwsg7z3g9qvshlmlirgzyja4hjxxgdfpkaakafm87n58c"))))
+    (build-system emacs-build-system)
+    (arguments (list #:include #~(cons* "img/" "mus/" %default-include)))
+    (home-page "https://github.com/TeMPOraL/nyan-mode/")
+    (synopsis "Nyan Cat as position indicator")
+    (description
+     "Nyan Mode is an analog indicator of your position in the buffer.  The cat
+should go from left to right in your mode-line, as you move your point from 0%
+to 100%.  You can click on the rainbow or the empty space to scroll backwards
+and forwards and also animate it.")
+    (license license:gpl3+)))
+
 (define-public emacs-smart-mode-line
   (package
     (name "emacs-smart-mode-line")
-- 
2.34.0