guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5ef86f97e23bb6bc1bb16ece959a597b306916b3
Author: gemmaro <[email protected]>
AuthorDate: Thu Dec 18 22:42:25 2025 +0900

    gnu: Add rpatool.
    
    * gnu/packages/game-development.scm (rpatool): New variable.
    
    Change-Id: I2edecc630f6cc146c008195eac694fd7891f56d4
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/game-development.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index d96bd46128..a03370ded4 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -38,6 +38,7 @@
 ;;; Copyright © 2025 Arnaud Lechevallier <[email protected]>
 ;;; Copyright © 2025 Vinicius Monego <[email protected]>
 ;;; Copyright © 2025 Simen Endsjø <[email protected]>
+;;; Copyright © 2025 gemmaro <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1949,6 +1950,41 @@ programming languages.")
 visual novel engine, explaining all of its features.")
     (license license:expat)))
 
+(define-public rpatool
+  (let ((revision "0")
+        (commit "74f26d5dfdd645483e02552aa766ca447ad6b191"))
+    (package
+      (name "rpatool")
+      (version (git-version "0.8" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/shiz/rpatool";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10dm8bak0dm84d1ciwzw6jd5y64invddlmcdnawnpp7jn3wrg1jb"))))
+      (build-system python-build-system)
+      (arguments
+       (list
+        #:tests? #f ;no tests
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'build)
+            (replace 'install
+              (lambda _
+                (install-file "rpatool"
+                              (string-append #$output "/bin")))))))
+      (home-page "https://codeberg.org/shiz/rpatool";)
+      (synopsis "Tool to work with Ren'Py archives")
+      (description
+       "@samp{rpatool} is a simple tool allowing you to create, modify and
+extract @url{https://www.renpy.org/,Ren'Py} Archive files
+(@code{.rpa}/@code{.rpi}).  Currently, only writing RPAv2/RPAv3 archives is
+supported.")
+      (license license:wtfpl2))))
+
 (define-public python-pyxel
   ;; Note to updaters: Use commit and revision even if you're bumping
   ;; to a release, as upstream is known to "reuse" tags.

Reply via email to