Subject: [bug#76273] [PATCH v3 01/10] gnu: Add go-github-com-layeh-gopher-luar.

From: Ashvith Shetty <[email-masked]>
Date: Sat, 15 Feb 2025 00:35:25 +0530

* gnu/packages/golang-xyz.scm (go-github-com-layeh-gopher-luar): New variable.

Change-Id: Iafe2a8aa760d684dae485c12f639cdbdc8efc336
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2af3339197..d835769032 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2024 Troy Figiel <[email-masked]>
 ;;; Copyright © 2024 gemmaro <[email-masked]>
 ;;; Copyright © 2024 Roman Scherer <[email-masked]>
+;;; Copyright © 2025 Ashvith Shetty <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9567,6 +9568,31 @@ (define-public go-github-com-lann-ps
 structure.  It's a stable fork of https://github.com/mndrix/ps.")
     (license license:expat)))
 
+(define-public go-github-com-layeh-gopher-luar
+  (package
+    (name "go-github-com-layeh-gopher-luar")
+    (version "1.0.11")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/layeh/gopher-luar")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zfafqy2jwjmrr0gl3h2ivn0iixb0bvslcwcly9bcmc5yxq35m89"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "layeh.com/gopher-luar"))
+    (propagated-inputs (list go-github-com-yuin-gopher-lua))
+    (home-page "https://github.com/layeh/gopher-luar")
+    (synopsis "Simplifies data passing to and from gopher-lua")
+    (description
+     "Package @code{gopher-luar} simplifies data passing to and from
+ @url{https://github.com/yuin/gopher-lua, gopher-lua}.")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-leodido-go-urn
   (package
     (name "go-github-com-leodido-go-urn")
-- 
2.48.1