aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-02-10 21:56:49 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-02-11 20:45:44 +0100
commit54b1d115c49e14b0bcca05b2a1d31e0f5451c53c (patch)
tree26cc58089df4f577615d1b85afb6eb667327f62b /gnu/packages
parent6d3714478b709d4e420e709604c91f5c2f9d3910 (diff)
downloadguix-54b1d115c49e14b0bcca05b2a1d31e0f5451c53c.tar
guix-54b1d115c49e14b0bcca05b2a1d31e0f5451c53c.tar.gz
gnu: Add emacs-nyan-mode.
* gnu/packages/emacs-xyz.scm (emacs-nyan-mode): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 73bd240eda..e83250008e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5592,6 +5592,40 @@ which integrates into existing mode-line without requiring a minor mode or
configuration.")
(license license:gpl3+))))
+(define-public emacs-nyan-mode
+ (package
+ (name "emacs-nyan-mode")
+ (version "1.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TeMPOraL/nyan-mode/")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0d0hdjliad8afz4br38gwidph9zhmm5s09y45n95kqlazq62jfsx"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:include #~(cons* "img/" "mus/" %default-include)
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-sources
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "nyan-mode.el"
+ (("mplayer ")
+ (string-append (search-input-file inputs "bin/mplayer")
+ " "))))))))
+ (inputs (list mplayer))
+ (home-page "https://github.com/TeMPOraL/nyan-mode/")
+ (synopsis "Nyan Cat as buffer 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")