Subject: [bug#64916] [PATCH 02/18] gnu: Add go-github-com-hexops-gotextdiff.

From: Hilton Chain <[email-masked]>
Date: Fri, 28 Jul 2023 17:07:39 +0800

* gnu/packages/golang.scm (go-github-com-hexops-gotextdiff): New variable.
---
 gnu/packages/golang.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a6b20a5446..f81a330697 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3226,6 +3226,27 @@ (define-public go-github-com-hebcal-hebcal-go
 and anniversaries.")
       (license license:gpl2+))))
 
+(define-public go-github-com-hexops-gotextdiff
+  (package
+    (name "go-github-com-hexops-gotextdiff")
+    (version "1.0.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hexops/gotextdiff")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1vgq6w0cfhr76qlczgm5khsj1wnjkva0vhkh3qspaa1nkfw3jny1"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/hexops/gotextdiff"))
+    (home-page "https://github.com/hexops/gotextdiff")
+    (synopsis "Unified text diffing in Go")
+    (description "This package provides library to generate unified diffs.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-aws-sdk
   (package
     (name "go-github-com-aws-sdk")
-- 
2.41.0