Subject: [PATCH v2 6/7] gnu: Add python-pytmx.

From: Adam Faiz <[email-masked]>
Date: Mon, 13 Nov 2023 12:14:08 +0800

>From 162752285f22ea08d5d8f911b19062da213aa910 Mon Sep 17 00:00:00 2001
Message-ID: <1[email-masked]>
In-Reply-To: <c[email-masked]>
References: <c[email-masked]>
From: AwesomeAdam54321 <[email-masked]>
Date: Mon, 13 Nov 2023 11:43:51 +0800
Subject: [PATCH v2 6/7] gnu: Add python-pytmx.

* gnu/packages/game-development.scm (python-pytmx): New variable.
---
 gnu/packages/game-development.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index ad29931b72..d9ec0d5826 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -548,6 +548,25 @@ (define-public python-sge
 possible, and it also makes the SGE easy to learn.")
     (license license:lgpl3+)))
 
+(define-public python-pytmx
+  (package
+    (name "python-pytmx")
+    (version "3.32")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "PyTMX" version))
+              (sha256
+               (base32
+                "1jh9b0pjqbjdv72v5047p5d769ic084g013njvky0zcfiwrxi3w5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-pygame python-pysdl2 python-pyglet))
+  (home-page "https://github.com/bitcraft/PyTMX")
+  (synopsis "Python library to read Tiled Map Editor's TMX maps")
+  (description "@code{pytmx} is a map loader for python/pygame designed for games.
+It provides smart tile loading with a fast and efficient storage base.")
+  (license license:lgpl3+)))
+
 (define-public python-tmx
   (package
     (name "python-tmx")
-- 
2.41.0