andreas pushed a commit to branch games-updates
in repository guix.

commit 5ebd0dda51084328f8d5e6e9c579eba158ec26f1
Author: Antero Mejr <m...@antr.me>
AuthorDate: Fri Oct 11 23:45:28 2024 +0000

    gnu: Add netpanzer.
    
    * gnu/packages/games.scm (netpanzer): New variable.
    
    Change-Id: I989834b3b20c9848f53f1f17bb97bd9c49fc86e8
    Signed-off-by: Steve George <st...@futurile.net>
---
 gnu/packages/games.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d75d21e6f7..08df4e942c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2685,6 +2685,38 @@ role, and your gender.")
       (license:fsdg-compatible
         "https://nethack.org/common/license.html";))))
 
+(define-public netpanzer
+  (package
+    (name "netpanzer")
+    (version "0.9.0-RC-7") ;0.8.7 was released 8 years ago
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/netpanzer/netpanzer";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bc29cxjragbhgsg89sliyiqw289nd37wb1f9qarknir73ijnfac"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:tests? #f)) ;2/2 (trivial) tests fail, need filesystem access
+    (native-inputs (list pkg-config))
+    (inputs (list freetype
+                  lua
+                  physfs
+                  sdl2
+                  sdl2-mixer
+                  sdl2-ttf))
+    (home-page "https://github.com/netpanzer/netpanzer";)
+    (synopsis "Online tactical warfare game")
+    (description
+     "NetPanzer is an online multiplayer tactical warfare game.  It is based
+on quick tactical action and unit management in real-time.  Battles progress
+constantly as destroyed players respawn with a set of new units.  Players can
+join or leave multiplayer games at any time.")
+    (license license:gpl2+)))
+
 (define-public pipewalker
   (package
     (name "pipewalker")

Reply via email to