This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6f0f2e93fd gnu: Add emacs-renpy-mode.
6f0f2e93fd is described below

commit 6f0f2e93fdd93b3d03a4794356eb5f0ae70965e3
Author: gemmaro <[email protected]>
AuthorDate: Fri Jan 30 20:09:35 2026 +0900

    gnu: Add emacs-renpy-mode.
    
    * gnu/packages/emacs-xyz.scm (emacs-renpy-mode): New variable.
    
    Merges guix/guix!6025
    
    Change-Id: I1cfab41fee4cbe619fb52a7404cb3a2d5ec0aab5
    Signed-off-by: Cayetano Santos <[email protected]>
---
 gnu/packages/emacs-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8e1cfa6ee5..f89b13c84c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -141,7 +141,7 @@
 ;;; Copyright © 2024 Ilya Chernyshov <[email protected]>
 ;;; Copyright © 2024 Wilko Meyer <[email protected]>
 ;;; Copyright © 2024 Noé Lopez <[email protected]>
-;;; Copyright © 2024, 2025 gemmaro <[email protected]>
+;;; Copyright © 2024, 2025, 2026 gemmaro <[email protected]>
 ;;; Copyright © 2024 Daniel Szmulewicz <[email protected]>
 ;;; Copyright © 2024 Ashish SHUKLA <[email protected]>
 ;;; Copyright © 2024 Artyom V. Poptsov <[email protected]>
@@ -219,6 +219,7 @@
   #:use-module (gnu packages file-systems)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages game-development)
   #:use-module (gnu packages games)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages golang-apps)
@@ -4810,6 +4811,45 @@ regexp-like arguments to @code{skip-chars-forward} and
 @code{skip-chars-backward}.")
     (license license:gpl3+)))
 
+(define-public emacs-renpy-mode
+  (let ((revision "0")
+        (commit "f4b7512af930efbf6a9be8dd7d43f47031acba40"))
+    (package
+      (name "emacs-renpy-mode")
+      (version (git-version "0.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Reagankm/renpy-mode";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09qrshrnbay0dd85d98hbm4fvpwr37hjjsdmf5mry9jswxrkppnq"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:test-command
+        #~'("ert-runner" "test")
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'set-RenPy-program
+              (lambda* (#:key inputs #:allow-other-keys)
+                (emacs-substitute-variables "renpy-mode.el"
+                  ("renpy-program"
+                   (search-input-file inputs "/bin/renpy"))))))))
+      (native-inputs (list emacs-ert-runner))
+      (inputs (list renpy))
+      (home-page "https://github.com/Reagankm/renpy-mode";)
+      (synopsis "Emacs major mode for editing Ren'Py files")
+      (description
+       "This package provides an Emacs major mode for editing
+@url{https://www.renpy.org/,Ren'Py} files.  It supports indentation,
+syntax highlighting, movement and navigation, context-sensitive symbol
+completion, and running Ren'Py commands from within Emacs with error
+highlighting.")
+      (license license:gpl3+))))
+
 (define-public emacs-bug-hunter
   (let ((commit "b88d981afa9154b236c5a3a83b50d5889d46c6a7")
         (revision "1"))

Reply via email to