From: Cairn via Guix-patches via <guix-patches@gnu.org>
To: 57390@debbugs.gnu.org
Cc: Cairn <cairn@pm.me>
Subject: [bug#57390] [PATCH 1/3] gnu: Add go-github-com-veandco-go-sdl2.
Date: Wed, 24 Aug 2022 18:05:06 +0000 [thread overview]
Message-ID: <20220824180447.29003-1-cairn@pm.me> (raw)
In-Reply-To: <20220824180118.28815-1-cairn@pm.me>
* gnu/packages/golang.scm (go-github-com-veandco-go-sdl2): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
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
next prev parent reply other threads:[~2022-08-24 18:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-24 18:01 [bug#57390] [PATCH 0/3] gnu: Add harmonist-sdl Cairn via Guix-patches via
2022-08-24 18:05 ` Cairn via Guix-patches via [this message]
2022-08-24 18:06 ` [bug#57390] [PATCH 2/3] gnu: Add go-github-com-anaseto-gruid-sdl Cairn via Guix-patches via
2022-08-24 18:06 ` [bug#57390] [PATCH 3/3] gnu: Add harmonist-sdl Cairn via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220824180447.29003-1-cairn@pm.me \
--to=guix-patches@gnu.org \
--cc=57390@debbugs.gnu.org \
--cc=cairn@pm.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).