summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRaven Hallsby <karl@hallsby.com>2025-10-25 12:24:52 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-04 20:27:20 +0000
commitdbe39aa5651ab7cde22c420bd27501bef4115e9e (patch)
treec99a69f17c527e5b5c079b7e68d58cd452a6f5cc /gnu
parent87b7252f8414317a65355fdb69f5819571b15287 (diff)
gnu: Add go-github-com-baulk-chardet.
* gnu/packages/golang-xyz.scm (go-github-com-baulk-chardet): New variable. Change-Id: Ic9229d6c29702eaa8c34d8e4dec7b5e977094f26 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1d60a587cf8..a25030bfa40 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2423,6 +2423,31 @@ supports generating diffs in the
Unified Format}.")
(license license:expat)))
+(define-public go-github-com-baulk-chardet
+ (package
+ (name "go-github-com-baulk-chardet")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/baulk/chardet")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0sjs572wri69fj97byhf1xmzw7fdrlpasp0k2mc96h5804fwm08l"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/baulk/chardet"
+ #:test-flags
+ #~(list "-vet=off"))) ;Go@1.24 forces vet, but tests are not ready yet.
+ (home-page "https://github.com/baulk/chardet")
+ (synopsis "Character set detection for Go")
+ (description
+ "The chardet package ports character set detection from ICU to Go.")
+ (license license:expat)))
+
(define-public go-github-com-beorn7-perks
(package
(name "go-github-com-beorn7-perks")