diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-07-26 20:42:08 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-01-03 17:24:27 +0200 |
commit | ac7174b33d8ad587ade32d27f8a5b45ce99280b9 (patch) | |
tree | 4866202d76abc8769bf1f53195ea3d054cae2966 /gnu/packages | |
parent | 398f5b49a4890e2a3cfd6014bcd6c9975232da88 (diff) |
gnu: Add go-github-com-go-playground-universal-translator.
* gnu/packages/golang.scm (go-github-com-go-playground-universal-translator): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/golang.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 32b89fab33..b122bca378 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -571,6 +571,44 @@ 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.17.0") + (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 "1zdiaisb32iv4x93cpbqrgx8ll7sxh4hcd2iibpswy4bwvjbjlz6")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/go-playground/universal-translator")) + (propagated-inputs + `(("go-github-com-go-playground-locales" ,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-aws-sdk (package (name "go-github-com-aws-sdk") |