Subject: [bug#75176] [PATCH 03/18] gnu: Add go-github-com-jmattheis-goverter.

From: Roman Scherer <[email-masked]>
Date: Sun, 29 Dec 2024 13:14:22 +0100

* gnu/packages/golang-xyz.scm (go-github-com-jmattheis-goverter): New variable.

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

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1db1c80efd..9e2273d865 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4487,6 +4487,36 @@ (define-public go-github-com-jinzhu-copier
 struct to another.")
     (license license:expat)))
 
+(define-public go-github-com-jmattheis-goverter
+  (package
+    (name "go-github-com-jmattheis-goverter")
+    (version "1.7.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jmattheis/goverter")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ph8470wxpf8p2cdr5w3hkchlgpiyzljlsdna9jvhgw53sf2c32n"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jmattheis/goverter"
+      #:tests? #f))
+    (propagated-inputs (list go-gopkg-in-yaml-v3 go-golang-org-x-tools
+                             go-github-com-stretchr-testify
+                             go-github-com-dave-jennifer))
+    (home-page "https://github.com/jmattheis/goverter")
+    (synopsis "Generate type-safe Go converters by defining function
+signatures")
+    (description
+     "This package can generate type-safe converters for Go.  The project is
+meant as alternative to @@url{https://github.com/jinzhu/copier,jinzhu/copier}
+that doesn't use reflection.")
+    (license license:expat)))
+
 (define-public go-github-com-johnkerl-lumin
   (package
     (name "go-github-com-johnkerl-lumin")
-- 
2.47.1