From ba90f16392f2f446fad31cbbcd74e60657cc2d27 Mon Sep 17 00:00:00 2001 From: ColdSideOfYourPillow Date: Tue, 21 Oct 2025 16:28:28 +0400 Subject: [PATCH] gnu: Update emacs-nyan-mode. * gnu/packages/emacs-xyz.scm (emacs-nyan-mode): Update to 1.1.4. [arguments]: Disable tests. Signed-off-by: Liliana Marie Prikler --- gnu/packages/emacs-xyz.scm | 65 ++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 98b861cf09c..0ae63210c72 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -10182,39 +10182,44 @@ 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)))) - (file-name (git-file-name name 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 + ;; Tagged release is not up-to-date, according to the "Version:" keyword in + ;; main file. + (let ((commit "09904af23adb839c6a9c1175349a1fb67f5b4370") + (revision "0")) + (package + (name "emacs-nyan-mode") + (version (git-version "1.1.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/TeMPOraL/nyan-mode/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03xp4dvq3y3q9xyb6pm9m5gb756rvbxcqk52ind08n7prqv4w1lp")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #f ;no tests + #: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+))) + (license license:gpl3+)))) (define-public emacs-smart-mode-line (package