Subject: [bug#61946] [PATCH 3/6] gnu: Add go-github-com-tdewolff-parse-v2.

From: Thomas Ieong <[email-masked]>
Date: Sat, 4 Mar 2023 00:01:56 +0100

* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1bd2a51d8d..a331331546 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9668,6 +9668,30 @@ (define-public go-github-com-matryer-try
     (description "Package try provides retry functionality.")
     (license license:expat)))
 
+(define-public go-github-com-tdewolff-parse-v2
+  (package
+    (name "go-github-com-tdewolff-parse-v2")
+    (version "2.6.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tdewolff/parse")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0wmyylml2b1fy735qfpwavjnhfn2ihjgna2yab433mg1ikgl6wxl"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tdewolff/parse/v2"))
+    (propagated-inputs `(("go-github-com-tdewolff-test" ,go-github-com-tdewolff-test)))
+    (home-page "https://github.com/tdewolff/parse")
+    (synopsis "Go parsers for web formats")
+    (description
+     "Package parse contains a collection of parsers for various formats in its
+subpackages.")
+    (license license:expat)))
+
 (define-public go-github-com-hashicorp-go-syslog
   (package
     (name "go-github-com-hashicorp-go-syslog")
-- 
2.39.1