From patchwork Tue Jun 13 10:45:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 50875 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 EFD8627BBE9; Tue, 13 Jun 2023 12:29:26 +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 01F8A27BBE2 for ; Tue, 13 Jun 2023 12:29:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q91YH-0003FJ-L6; Tue, 13 Jun 2023 06:47:05 -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 1q91YE-0003DA-Tl for guix-patches@gnu.org; Tue, 13 Jun 2023 06:47:03 -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 1q91YE-0008Kw-Hh for guix-patches@gnu.org; Tue, 13 Jun 2023 06:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q91YD-0006MO-UE; Tue, 13 Jun 2023 06:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64041] [PATCH] gnu: Add anarch. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 13 Jun 2023 10:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64041 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64041@debbugs.gnu.org Cc: =?utf-8?b?5a6L5paH5q2m?= , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by submit@debbugs.gnu.org id=B.168665316624381 (code B ref -1); Tue, 13 Jun 2023 10:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jun 2023 10:46:06 +0000 Received: from localhost ([127.0.0.1]:41388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q91XJ-0006LB-Vb for submit@debbugs.gnu.org; Tue, 13 Jun 2023 06:46:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:47506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q91XE-0006Kh-BT for submit@debbugs.gnu.org; Tue, 13 Jun 2023 06:46:04 -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 1q91XC-00036I-VQ for guix-patches@gnu.org; Tue, 13 Jun 2023 06:45:58 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q91Wy-0007vt-9Q for guix-patches@gnu.org; Tue, 13 Jun 2023 06:45:58 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 400DE38A002A; Tue, 13 Jun 2023 10:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1686653124; bh=UcE4y8+7KmrZ1S7K9taH9UwvVABmz0VwLRt2saa6Qto=; h=From:To:Cc:Subject:Date:From; b=VF2LixKzsMaiy1H7sZs/yhTAMvOMaWWQJsY7W/Oz1g9SBzEVgwxpHI7nq70yWITh8 KYX5uzUkBuWWK5PudPmUWCLCVLECA0PpyCvji6KQFaClpA9JeYv69ju8i81RmREiwd 0E/vQ2o8Cjpgtv5ggyyX51NYhaxgOC90SngGb2bQjUf9MvjgZk2ea3dst8S9FaYbBJ zSkQP8jY2PKTJpn88c55lgyd4gPP6BrB9Kha5xioMpMEtx/FehQtY2vSU5iwooVVp6 w/a7mEmvKZn2sVppslpsRFf6AaSqcb2ff9AxXwrUvMsBaMrHHoYKoqgiKm2RFWIUoa +50YwyMwCib9PAe+rs1SAr6BOp82Rik1PARx80fH96umNUd6etoeLhLMGiEWn2vlwM jupD504dJFRTP21GKpZn2nQ2VeWBaoUnvFNnZvuuXaQnXbReXLpjZKEWrWv4Nzqszv Cz9sHJ4IlY354Ch6UI83pknV5tvZD6xynoTAJInyYpbwJbErmqnUppngwDyQg75rYS ztoZrpn2H9L1rtRVqfYrjcUgeX6iQfm7XajZrzC7OYtPKicWJpyroMYqDVRGO28Ma0 KT8REPfEgDszlQUqbGV8xJ0/os7Jn/aglYCw5LBNL256gMXwMns6gqsN159fJS4KBF jSVXRVxQOp4J6wCAejvHoIBI= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TiMkU94gOw-W; Tue, 13 Jun 2023 10:45:19 +0000 (UTC) Received: from localhost (unknown [36.170.56.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 13 Jun 2023 10:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6c18b696; Tue, 13 Jun 2023 10:45:12 +0000 (UTC) Date: Tue, 13 Jun 2023 18:45:01 +0800 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches X-Patchwork-Original-From: iyzsong--- via Guix-patches via From: "ashish.is--- via Guix-patches\" via" 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: 宋文武 * gnu/packages/games.scm (anarch): New variable. --- gnu/packages/games.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) base-commit: b188c41d930dbe8142c1f377d3c8f2580ff1277c diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 8c00c2e66e..b53730f850 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -415,6 +415,40 @@ (define-public alex4 The game includes a built-in editor so you can design and share your own maps.") (license license:gpl2+))) +(define-public anarch + (let ((commit "2d78d0c69a3aac14dbd8f8aca62d0cbd9d27c860") + (revision "1")) + (package + (name "anarch") + (version (git-version "1.1d" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~drummyfish/Anarch") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lg9r6q1davn5yj181ccygmvaigvm8fr9q2s1bc77a1vkz68vzdk")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (delete 'configure) ;no configure script + (replace 'build + (lambda _ + (invoke "./make.sh" "sdl"))) + (replace 'install + (lambda _ + (let ((bin (string-append #$output "/bin"))) + (install-file "anarch" bin))))))) + (inputs (list alsa-lib libxcursor libxrandr sdl2)) + (home-page "https://drummyfish.gitlab.io/anarch/") + (synopsis "Public domain 90s-style shooter game") + (description "Anarch is a small, completely public domain, 90s-style +Doom clone shooter game.") + (license license:cc0)))) + (define-public armagetronad (package (name "armagetronad")