Subject: [PATCH 2/3] gnu: Add go-github-com-anaseto-gruid-sdl.

From: Cairn <[email-masked]>
Date: Wed, 24 Aug 2022 18:06:19 +0000

* gnu/packages/games.scm (go-github-com-anaseto-gruid-sdl): New variable.
---
 gnu/packages/games.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a3278b8918..7f5d59cce1 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9474,6 +9474,32 @@ (define-public go-github-com-anaseto-gruid-tcell
 terminal full-window applications.")
     (license license:isc)))
 
+(define-public go-github-com-anaseto-gruid-sdl
+  (package
+    (name "go-github-com-anaseto-gruid-sdl")
+    (version "0.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/anaseto/gruid-sdl")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14g26kskkkp509bnql5brbainxxvp59qb59b5s7qqgv9hxgx201m"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/anaseto/gruid-sdl"))
+    (native-inputs (list pkg-config))
+    (inputs (list go-github-com-anaseto-gruid
+                  go-golang-org-x-image))
+    (propagated-inputs (list go-github-com-veandco-go-sdl2))
+    (home-page "https://github.com/anaseto/gruid-sdl")
+    (synopsis "Gruid driver for using the SDL2 library")
+    (description "The gruid-sdl2 module provides a Gruid driver for
+building native graphical applications with SDL2.")
+    (license license:isc)))
+
 (define-public harmonist
   (package
     (name "harmonist")
-- 
2.37.2