Subject: [PATCH go-team 22/30] gnu: Add go-golang-org-x-text-transform.

From: Herman Rimm <[email-masked]>
Date: Mon, 2 Sep 2024 14:18:30 +0200

* gnu/packages/golang.scm (go-golang-org-x-text-transform): Add
variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1822b640dc..205cb6d55f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3090,6 +3090,33 @@ (define-public go-github-com-tj-docopt
     (home-page "https://github.com/tj/docopt")
     (license license:expat)))
 
+(define-public go-golang-org-x-text-transform
+  (package
+    (name "go-golang-org-x-text-transform")
+    (version "0.16.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://go.googlesource.com/text")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0pmn0i1xbpwvzl4cdgmjqcsk9vckhqrq6699fnr9mkglh4xj3p7a"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "golang.org/x/text/transform"
+           #:unpack-path "golang.org/x/text"))
+    (home-page "https://golang.org/x/text")
+    (synopsis "Read and write wrappers for byte transformation")
+    (description
+     "Package transform provides reader and writer wrappers that
+transform the bytes passing through as well as various transformations.
+Example transformations provided by other packages include normalization
+and conversion between character sets.")
+    (license license:bsd-3)))
+
 (define-public go-golang-org-x-vuln
   (package
     (name "go-golang-org-x-vuln")
-- 
2.45.2