From 5ef86f97e23bb6bc1bb16ece959a597b306916b3 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Thu, 18 Dec 2025 22:42:25 +0900 Subject: [PATCH] gnu: Add rpatool. * gnu/packages/game-development.scm (rpatool): New variable. Change-Id: I2edecc630f6cc146c008195eac694fd7891f56d4 Signed-off-by: Liliana Marie Prikler --- 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 d96bd461289183141cceb6d6e3ef6299baa711ac..a03370ded4430491f0fa9876560171b2ebaad042 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2025 Arnaud Lechevallier ;;; Copyright © 2025 Vinicius Monego ;;; Copyright © 2025 Simen Endsjø +;;; Copyright © 2025 gemmaro ;;; ;;; 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.