mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-06 11:26:55 -05:00
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>
This commit is contained in:
parent
398f5b49a4
commit
ac7174b33d
1 changed files with 38 additions and 0 deletions
|
@ -571,6 +571,44 @@ (define-public go-github-com-go-playground-locales
|
|||
@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")
|
||||
|
|
Loading…
Reference in a new issue