GNU bug report logs - #64041
[PATCH] gnu: Add anarch.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Tue, 13 Jun 2023 10:47:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64041: closed ([PATCH] gnu: Add anarch.)
Date: Tue, 18 Jul 2023 12:19:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 18 Jul 2023 20:18:32 +0800
with message-id <87cz0pza3r.fsf <at> envs.net>
and subject line Re: bug#64041: [PATCH] gnu: Add anarch.
has caused the debbugs.gnu.org bug report #64041,
regarding [PATCH] gnu: Add anarch.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64041: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64041
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] gnu: Add anarch.
Date: Tue, 13 Jun 2023 18:45:01 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/games.scm (anarch): New variable.
---
 gnu/packages/games.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

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")

base-commit: b188c41d930dbe8142c1f377d3c8f2580ff1277c
-- 
2.40.1



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: 64041-done <at> debbugs.gnu.org
Subject: Re: bug#64041: [PATCH] gnu: Add anarch.
Date: Tue, 18 Jul 2023 20:18:32 +0800
Pushed, forgot to close..


This bug report was last modified 2 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.