From 701907fae9782e038cd949ed4d8c8d1581d58ac2 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 29 Jul 2023 01:19:52 +0800 Subject: [PATCH] gnu: Add go-github-com-dimchansky-utfbom. * gnu/packages/golang-xyz.scm (go-github-com-dimchansky-utfbom): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I25ecf3bd881d2317b84ecaef5260c78296f51d56 --- gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 8df9481b0e..cbb7c394d8 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -417,6 +417,29 @@ of unit files."))) metrics to Graphite.") (license license:bsd-2))) +(define-public go-github-com-dimchansky-utfbom + (package + (name "go-github-com-dimchansky-utfbom") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dimchansky/utfbom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ll3wqvifmdanfyg6wsvz31c7n4mnczg2yxb65j35qxrnak89hn3")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/dimchansky/utfbom")) + (home-page "https://github.com/dimchansky/utfbom") + (synopsis "Go Unicode byte order mark detection library") + (description + "This package provides a library for @acronym{BOM, Unicode Byte Order +Mark} detection.") + (license license:asl2.0))) + (define-public go-github-com-djherbis-atime (package (name "go-github-com-djherbis-atime")