unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64041] [PATCH] gnu: Add anarch.
@ 2023-06-13 10:45 iyzsong--- via Guix-patches via
  2023-06-18 21:29 ` Ludovic Courtès
  2023-07-18 12:18 ` bug#64041: " 宋文武 via Guix-patches via
  0 siblings, 2 replies; 3+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-06-13 10:45 UTC (permalink / raw)
  To: 64041
  Cc: 宋文武, Liliana Marie Prikler,
	宋文武

From: 宋文武 <iyzsong@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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#64041] [PATCH] gnu: Add anarch.
  2023-06-13 10:45 [bug#64041] [PATCH] gnu: Add anarch iyzsong--- via Guix-patches via
@ 2023-06-18 21:29 ` Ludovic Courtès
  2023-07-18 12:18 ` bug#64041: " 宋文武 via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-06-18 21:29 UTC (permalink / raw)
  To: iyzsong; +Cc: 64041, 宋文武, Liliana Marie Prikler

Hey,

iyzsong@envs.net skribis:

> From: 宋文武 <iyzsong@member.fsf.org>
>
> * gnu/packages/games.scm (anarch): New variable.

LGTM! :-)

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#64041: [PATCH] gnu: Add anarch.
  2023-06-13 10:45 [bug#64041] [PATCH] gnu: Add anarch iyzsong--- via Guix-patches via
  2023-06-18 21:29 ` Ludovic Courtès
@ 2023-07-18 12:18 ` 宋文武 via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-07-18 12:18 UTC (permalink / raw)
  To: 64041-done


Pushed, forgot to close..




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-18 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13 10:45 [bug#64041] [PATCH] gnu: Add anarch iyzsong--- via Guix-patches via
2023-06-18 21:29 ` Ludovic Courtès
2023-07-18 12:18 ` bug#64041: " 宋文武 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).