~ruther/guix-local

01c974855598e0a7ead38639d1be73b3244f4ec2 — Nicolas Graves 3 years ago 8c64e40
gnu: Add go-github-com-leonelquinteros-gotext.

* gnu/packages/golang.scm (go-github-com-leonelquinteros-gotext): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +36 -0
@@ 1673,6 1673,42 @@ terminals.")
aid data snapshotting.")
    (license license:isc)))

(define-public go-github-com-leonelquinteros-gotext
  (package
    (name "go-github-com-leonelquinteros-gotext")
    (version "1.5.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/leonelquinteros/gotext")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zjc7s1p29izagc84andzhnxw17763rax31jqvf9r5fzvlm0ccn"))))
    (build-system go-build-system)
    (arguments
     '(#:import-path "github.com/leonelquinteros/gotext"))
    (propagated-inputs (list go-golang-org-x-tools go-golang-org-x-text))
    (home-page "https://github.com/leonelquinteros/gotext")
    (synopsis "GNU gettext utilities in Go")
    (description "This package implements GNU gettext utilities in Go.  It features:
@itemize
@item Implements GNU gettext support in native Go.
@item Complete support for PO files including:
@item Support for MO files.
@item Thread-safe: This package is safe for concurrent use across multiple
goroutines.
@item It works with UTF-8 encoding as it's the default for Go language.
@item Unit tests available.
@item Language codes are automatically simplified from the form en_UK to en if
the first isn't available.
@item Ready to use inside Go templates.
@item Objects are serializable to []byte to store them in cache.
@item Support for Go Modules.
@end itemize")
    (license license:expat)))

(define-public go-github-com-pkg-xattr
  (package
    (name "go-github-com-pkg-xattr")