From 304522c186b37939cb35c47b819a86da1efec78e Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Sun, 2 Nov 2025 15:34:38 +0800 Subject: [PATCH] gnu: Add python-nbt. * gnu/packages/game-development.scm (python-nbt): New variable. Change-Id: Ib81e96b4abc45aec5eb8b3f785588e449507c957 Signed-off-by: Nicolas Goaziou --- gnu/packages/game-development.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 86d8e3123ea38c23b1897e85a101a08ecd31e736..8cce3db75c796423c5a5ee91c13a320607adfdda 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -560,6 +560,24 @@ types (circle, polygon, thin line segments), and quite a few joint types (revolute, prismatic, wheel, etc.).") (license license:zlib))) +(define-public python-nbt + (package + (name "python-nbt") + (version "1.5.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "NBT" version)) + (sha256 + (base32 + "1i9ncrzy5zcfnxzkh2j31n9ayzxfncckzwa6fkz9vjq5fq9v4fys")))) + (build-system python-build-system) + (home-page "https://github.com/twoolie/NBT") + (synopsis "Named Binary Tag reader and writer") + (description + "This library is a parser and writer for the NBT file format. It is suited +to inspect and edit the Minecraft data files.") + (license license:expat))) + (define-public python-sge (package (name "python-sge")