From patchwork Fri Jun 30 09:22:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 51454 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D13B527BBE9; Fri, 30 Jun 2023 10:24:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3109627BBE2 for ; Fri, 30 Jun 2023 10:24:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFAMF-0001Ko-VB; Fri, 30 Jun 2023 05:24:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFAME-0001JM-KP for guix-patches@gnu.org; Fri, 30 Jun 2023 05:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFAME-0006w8-BJ for guix-patches@gnu.org; Fri, 30 Jun 2023 05:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFAME-0004Mc-75 for guix-patches@gnu.org; Fri, 30 Jun 2023 05:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64362] [PATCH 2/3] gnu: Add python-anvil-parser. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Jun 2023 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64362 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64362@debbugs.gnu.org Cc: Liliana Marie Prikler , iyzsong@envs.net Received: via spool by 64362-submit@debbugs.gnu.org id=B64362.168811699116697 (code B ref 64362); Fri, 30 Jun 2023 09:24:02 +0000 Received: (at 64362) by debbugs.gnu.org; 30 Jun 2023 09:23:11 +0000 Received: from localhost ([127.0.0.1]:54539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFALO-0004LF-Ny for submit@debbugs.gnu.org; Fri, 30 Jun 2023 05:23:11 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFALM-0004Kz-8D for 64362@debbugs.gnu.org; Fri, 30 Jun 2023 05:23:10 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BD79A44728; Fri, 30 Jun 2023 11:23:02 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KuJwOl4H-HVk; Fri, 30 Jun 2023 11:23:01 +0200 (CEST) Message-ID: <459fc17f-c9ea-c345-99f8-558e544740ed@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1688116981; bh=GXhpx8oKi9QF65lKo4WP8wOqW3pu89Q32PV8t85JRTU=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=cjy4y4flaaWLbIpGuCPk8Bce+kOaqH+dvT0cZ11Cpto0HsAQaq02RStFDl4njHwvB snmHBtyZC3PqCncNxtD6v+CVfuT6pWSzp5W1fjoraS1WCeBfCoZI1kVbnE5z+o5MoR x1jLOe8gMXU70CgPBtYhMa+SHJs2vTpWc8x7Tvh0KEXqvVzmyOHlWtvYB7QihrX/+t rU3fJ1AHe3JD7Sy8prN+QM3mmTsjNyuHpOODCqDv94NeOF+pbpOUOOXh7Dd6JydkWq EGKuC+TJ7rXxITiwktJmzWo9HAbnRLIXwpogQZa9xd71W96ijVnrfQg0vQBj0GieCX Kns7ME1a6iagg== Date: Fri, 30 Jun 2023 17:22:57 +0800 MIME-Version: 1.0 Content-Language: en-US References: <6a3d5c55-d481-e3dc-f423-eb7f6c8313b9@disroot.org> In-Reply-To: <6a3d5c55-d481-e3dc-f423-eb7f6c8313b9@disroot.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 9a63ff079e0dae175651e9a4f65e03cc6f3892b4 Mon Sep 17 00:00:00 2001 Message-Id: <9a63ff079e0dae175651e9a4f65e03cc6f3892b4.1688116740.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Fri, 30 Jun 2023 16:44:20 +0800 Subject: [PATCH 2/3] gnu: Add python-anvil-parser. * gnu/packages/game-development.scm (python-anvil-parser): New variable. --- gnu/packages/game-development.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 9fcfe468ef..52f8a3787d 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -442,6 +442,28 @@ (define-public nml files) into @file{.grf} and/or @file{.nfo} files.") (license license:gpl2+))) +(define-public python-anvil-parser + (let ((commit "27544bb41f035617be130a209a84371cbaf837cc") + (revision "0")) + (package + (name "python-anvil-parser") + (version (git-version "0.9.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/0xTiger/anvil-parser") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "196nli36pz4sllx1m8jlys661hgbxhcxr2c4545fqb4nd27hhwy7")))) + (build-system python-build-system) + (propagated-inputs (list python-frozendict python-nbt)) + (home-page "https://github.com/0xTiger/anvil-parser") + (synopsis "Minecraft anvil file format parser") + (description "This package provides a Minecraft anvil file format parser.") + (license license:expat)))) + (define-public python-nbt (package (name "python-nbt")