diff mbox series

[bug#57390,2/3] gnu: Add go-github-com-anaseto-gruid-sdl.

Message ID 20220824180614.29179-1-cairn@pm.me
State New
Headers show
Series gnu: Add harmonist-sdl. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Cairn Aug. 24, 2022, 6:06 p.m. UTC
* gnu/packages/games.scm (go-github-com-anaseto-gruid-sdl): New variable.
---
 gnu/packages/games.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

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