From e1b533daff640a7e40ffffe946ed1eb70dba67ef Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 2 Jan 2025 23:04:14 +0000 Subject: [PATCH] gnu: go-github-com-gdamore-encoding: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-gdamore-encoding): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I21385be5163f339c3faad405f71cc998fd2badf5 --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ gnu/packages/golang.scm | 26 -------------------------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index b586c0b971..e5d360e52e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4484,6 +4484,33 @@ Differentiation between text and binary files}. @end itemize") (license license:expat))) +(define-public go-github-com-gdamore-encoding + (package + (name "go-github-com-gdamore-encoding") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gdamore/encoding") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0506b4pnn3yk80sjrsh38z29qj41spxjl80fjw7vg3mz5kfkdxhi")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/gdamore/encoding")) + (inputs + (list go-golang-org-x-text)) + (home-page "https://github.com/gdamore/encoding") + (synopsis "Provide encodings missing from Go") + (description + "This package provides useful encodings not included in the standard +@code{Text} package, including some for dealing with I/O streams from +non-UTF-friendly sources.") + (license license:expat))) + (define-public go-github-com-gdamore-tcell (package (name "go-github-com-gdamore-tcell") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4e6d0cbcc2..30e726a103 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3277,32 +3277,6 @@ It stores colors in RGB and provides methods for converting these to various color spaces.") (license license:expat))) -(define-public go-github-com-gdamore-encoding - (package - (name "go-github-com-gdamore-encoding") - (version "1.0.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gdamore/encoding") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0506b4pnn3yk80sjrsh38z29qj41spxjl80fjw7vg3mz5kfkdxhi")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/gdamore/encoding")) - (inputs - (list go-golang-org-x-text)) - (home-page "https://github.com/gdamore/encoding") - (synopsis "Provide encodings missing from Go") - (description "This package provides useful encodings not included in the -standard @code{Text} package, including some for dealing with I/O streams from -non-UTF-friendly sources.") - (license license:expat))) - (define-public go-github-com-cention-sany-utf7 (package (name "go-github-com-cention-sany-utf7")