diff mbox series

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

Message ID 20210603205110.7102-40-rg@raghavgururajan.name
State New
Headers show
Series [bug#48729,v3,01/47] gnu: Add go-github-com-rakyll-statik. | expand

Commit Message

Raghav Gururajan June 3, 2021, 8:51 p.m. UTC
* gnu/packages/golang.scm (go-github-com-grd-glfw3): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

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