Subject: [bug#72963] [PATCH go-team v2 18/22] gnu: Add go-github-com-mattn-go-localereader.

From: Herman Rimm <[email-masked]>
Date: Tue, 3 Dec 2024 14:15:03 +0100

* gnu/packages/golang-xyz.scm (go-github-com-mattn-go-localereader): Add
variable.
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4f452cc48f..d77b5b8cf4 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5559,6 +5559,31 @@ (define-public go-github-com-mattn-go-isatty
 whether a file descriptor points to a terminal and the type of the terminal.")
     (license license:expat)))
 
+(define-public go-github-com-mattn-go-localereader
+  (package
+    (name "go-github-com-mattn-go-localereader")
+    (version "0.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mattn/go-localereader")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+          "0wcgqnpjk0drm7swc0q27j4r5ab63mhz29dgbjdnyn4sw68rqm96"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:tests? #f ; platform-dependent test
+           #:import-path "github.com/mattn/go-localereader"))
+    (propagated-inputs (list go-golang-org-x-text))
+    (home-page "https://github.com/mattn/go-localereader")
+    (synopsis "CodePage decoder for Windows")
+    (description
+     "This package provides a CodePage decoder for Windows.")
+    (license license:expat)))
+
 (define-public go-github-com-mattn-go-pointer
   (package
     (name "go-github-com-mattn-go-pointer")
-- 
2.45.2