guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3.


From: Raghav Gururajan
Subject: [bug#48729] [PATCH v3 40/47] gnu: Add go-github-com-grd-glfw3.
Date: Wed, 9 Jun 2021 13:00:15 -0400

* gnu/packages/golang.scm (go-github-com-grd-glfw3): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 691a5fed00..7661813489 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -57,6 +57,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
@@ -73,6 +74,32 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public go-github-com-grd-glfw3
+  (let ((commit "55390ea70f0d427a7ed40c26ea19e82fce17c927")
+        (revision "100"))
+    (package
+      (name "go-github-com-grd-glfw3")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/grd/glfw3";)
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15avw38mgx54a3rmlz97ryczpcbibn00rd8486w2si6f1zcawpxw"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/grd/glfw3"))
+      (inputs
+       `(("glfw" ,glfw)))
+      (home-page "https://github.com/grd/glfw3";)
+      (synopsis "Go bindings for GLFW3")
+      (description "Go bindings for GLFW3.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-mattn-go-gtk
   (let ((commit "af2e013261f57706ec683a61f85e8759a3faf6be")
         (revision "1134"))
-- 
2.31.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]