Subject: [bug#64916] [PATCH v2 01/23] gnu: Add go-github-com-a8m-envsubst.

From: Hilton Chain <[email-masked]>
Date: Sat, 29 Jul 2023 01:19:47 +0800

* gnu/packages/golang.scm (go-github-com-a8m-envsubst): New variable.
---
 gnu/packages/golang.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ea6aadbe80..a6b20a5446 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1041,6 +1041,28 @@ (define-public go-0xacab-org-leap-shapeshifter
 filtering devices.")
       (license license:bsd-2))))
 
+(define-public go-github-com-a8m-envsubst
+  (package
+    (name "go-github-com-a8m-envsubst")
+    (version "1.4.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/a8m/envsubst")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1mjs729g9nmalx25l4nn3p07amm4vsciqmdf0jbh2jwpy1zymz41"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/a8m/envsubst"))
+    (home-page "https://github.com/a8m/envsubst")
+    (synopsis "Environment variables substitution for Go")
+    (description
+     "This package provides a library for environment variables substitution.")
+    (license license:expat)))
+
 (define-public go-github-com-agext-levenshtein
   (package
     (name "go-github-com-agext-levenshtein")
-- 
2.41.0