mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-12 08:00:39 +02:00
gnu: Add go-github-com-mattn-go-localereader.
* gnu/packages/golang-xyz.scm (go-github-com-mattn-go-localereader): New variable. Relates-to: https://codeberg.org/guix/guix/issues/5190 Change-Id: I4fc964e87ad2c57342ca9e172ac10be8be414bb3 Reviewed-by: Johannes Christ <jc@jchri.st> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
62058f9422
commit
613cdc4b46
@@ -17482,6 +17482,34 @@ to handle ANSI color escapes on Windows.")
|
||||
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
|
||||
#:import-path "github.com/mattn/go-localereader"
|
||||
;; Tests reference NewCodePageDecoder which is only defined in
|
||||
;; localereader_windows.go and doesn't compile on non-Windows.
|
||||
#:tests? #f))
|
||||
(home-page "https://github.com/mattn/go-localereader")
|
||||
(synopsis "CodePage decoder for Windows")
|
||||
(description
|
||||
"This package provides a CodePage decoder for Windows, enabling Go programs
|
||||
to read locale-specific character encodings such as Shift JIS. It handles
|
||||
locale reading differently across Unix and Windows systems.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-mattn-go-pointer
|
||||
(package
|
||||
(name "go-github-com-mattn-go-pointer")
|
||||
|
||||
Reference in New Issue
Block a user