From patchwork Wed Aug 24 18:05:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 41924 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3F30827BBEA; Wed, 24 Aug 2022 19:17:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 026A827BBE9 for ; Wed, 24 Aug 2022 19:17:09 +0100 (BST) Received: from localhost ([::1]:37664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQuw8-0007p3-2m for patchwork@mira.cbaines.net; Wed, 24 Aug 2022 14:17:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQulP-0000q3-Rz for guix-patches@gnu.org; Wed, 24 Aug 2022 14:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQulP-0000fB-8e for guix-patches@gnu.org; Wed, 24 Aug 2022 14:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQulP-0004i1-4K for guix-patches@gnu.org; Wed, 24 Aug 2022 14:06:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57390] [PATCH 1/3] gnu: Add go-github-com-veandco-go-sdl2. References: <20220824180118.28815-1-cairn@pm.me> In-Reply-To: <20220824180118.28815-1-cairn@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Aug 2022 18:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57390 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57390@debbugs.gnu.org Cc: Cairn Received: via spool by 57390-submit@debbugs.gnu.org id=B57390.166136433218034 (code B ref 57390); Wed, 24 Aug 2022 18:06:03 +0000 Received: (at 57390) by debbugs.gnu.org; 24 Aug 2022 18:05:32 +0000 Received: from localhost ([127.0.0.1]:48164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQuku-0004gn-2R for submit@debbugs.gnu.org; Wed, 24 Aug 2022 14:05:32 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:61343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQukp-0004gN-2f for 57390@debbugs.gnu.org; Wed, 24 Aug 2022 14:05:30 -0400 Date: Wed, 24 Aug 2022 18:05:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661364320; x=1661623520; bh=jeCAmeEEA2Cizq6Sn5/UFdB/aA64mB1QQW+x7acAUgU=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=h0lXwbabeojj51F9jAN/+zNG8ThgaFrogcAkNIyn2BSI/vpbxL8aR3v1JBLyET08w rBVQsWGQXx8PwbH+ehCzC9j8DC25HeYKHkLErtJdC2dChO+KVIdktbIgidZRQpSkR1 iPm0XXmKMC3HljUIF2NRmvc47Qfzvb6ptSUbBttV7B5ZqfjjUkpqYDTn419QTWJkrb /UhKGwOoF2JPQKNISQttbJDPqBwigAV4XXsAegVG9hqUmrBAvaB/yaq82uJLEx6Y/Y TVsjtY9S4ATRt7tDtBEdufG6coDgy4itQNnycK67iSiT3+1I3xgFClo12Y6nRYXo2+ WekEkZPH8/6sg== Message-ID: <20220824180447.29003-1-cairn@pm.me> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 muradm +;;; Copyright © 2022 Cairn ;;; ;;; 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)))