* gnu/packages/golang.scm (go-github-com-veandco-go-sdl2): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Toggle diff (56 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d2f3dc39df..b295b826e9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2021 Lu Hui <luhux76@gmail.com>
;;; Copyright © 2022 Pier-Hugues Pellerin <phpellerin@gmail.com>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2022 Cairn <cairn@pm.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -83,6 +84,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
+ #:use-module (gnu packages sdl)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
@@ -9914,3 +9916,33 @@ (define-public go-github-com-sourcegraph-jsonrpc2
(description
"Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
(license license:expat)))
+
+(define-public go-github-com-veandco-go-sdl2
+ (package
+ (name "go-github-com-veandco-go-sdl2")
+ (version "0.4.25")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/veandco/go-sdl2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jvk0bpbq7dbza03a5j9yisij65si59zqzn2x9km2xjdjzbdzpyy"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f
+ #:import-path "github.com/veandco/go-sdl2/sdl"
+ #:unpack-path "github.com/veandco/go-sdl2"))
+ (native-inputs (list pkg-config))
+ (propagated-inputs (list sdl2
+ sdl2-image
+ sdl2-mixer
+ sdl2-ttf
+ sdl2-gfx))
+ (home-page "https://github.com/veandco/go-sdl2")
+ (synopsis "Go bindings for the SDL2 library")
+ (description "Go-SDL2 is SDL2 wrapped for Go users. It enables
+interoperability between Go and the SDL2 library.")
+ (license license:bsd-3)))
--
2.37.2