From 2f8db6f6b23785dc66da9b71b439ca92e4a7553c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 1 Jan 2025 14:53:59 +0000 Subject: [PATCH] gnu: go-github-com-go-playground-universal-translator: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-go-playground-universal-translator): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I2f948b8025c39c48a84157fc605027e77978b69f --- gnu/packages/golang-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 38 ------------------------------------ 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 516c39d8af..cd6f0c0a93 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4750,6 +4750,45 @@ implemented features include @end itemize") (license license:expat))) +(define-public go-github-com-go-playground-universal-translator + (package + (name "go-github-com-go-playground-universal-translator") + (version "0.18.1") + (home-page "https://github.com/go-playground/universal-translator") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lgz9wrkcfx6q3x6i9fprr8rfwnk0c6x61jgzacgikbmzsl7dw6v")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/go-playground/universal-translator")) + (propagated-inputs + (list go-github-com-go-playground-locales)) + (synopsis "Translator using Unicode CLDR data and pluralization rules") + (description + "This package offers an Internalization Translator for Go using +@uref{http://cldr.unicode.org/, Unicode CLDR Project} data and pluralization +rules. Its currently implemented features include + +@itemize +@item Rules generated from the CLDR data, v30.0.3 +@item Contains Cardinal, Ordinal and Range Plural Rules +@item Contains Month, Weekday and Timezone translations built in +@item Contains Date & Time formatting functions +@item Contains Number, Currency, Accounting and Percent formatting functions +@item Supports the \"Gregorian\" calendar only +@item Support loading translations from files +@item Exporting translations to file(s), mainly for getting them +professionally translated +@end itemize") + (license license:expat))) + (define-public go-github-com-go-sql-driver-mysql (package (name "go-github-com-go-sql-driver-mysql") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b850eced26..993ed6f109 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2097,44 +2097,6 @@ Under Windows, the console APIs are used. Otherwise, ANSI texts are output.") specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.") (license license:expat))) -(define-public go-github-com-go-playground-universal-translator - (package - (name "go-github-com-go-playground-universal-translator") - (version "0.18.1") - (home-page "https://github.com/go-playground/universal-translator") - (source - (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1lgz9wrkcfx6q3x6i9fprr8rfwnk0c6x61jgzacgikbmzsl7dw6v")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/go-playground/universal-translator")) - (propagated-inputs - (list go-github-com-go-playground-locales)) - (synopsis "Translator using Unicode CLDR data and pluralization rules") - (description - "This package offers an Internalization Translator for Go using -@uref{http://cldr.unicode.org/, Unicode CLDR Project} data and pluralization -rules. Its currently implemented features include - -@itemize -@item Rules generated from the CLDR data, v30.0.3 -@item Contains Cardinal, Ordinal and Range Plural Rules -@item Contains Month, Weekday and Timezone translations built in -@item Contains Date & Time formatting functions -@item Contains Number, Currency, Accounting and Percent formatting functions -@item Supports the \"Gregorian\" calendar only -@item Support loading translations from files -@item Exporting translations to file(s), mainly for getting them -professionally translated -@end itemize") - (license license:expat))) - (define-public go-github-com-nathan-osman-go-sunrise (let ((commit "c8f9f1eb869135f07378e7e3c5ec7a005f806c73") (revision "0"))