gnu: Add go-golang-org-x-text-union.

* gnu/packages/syncthing.scm (go-golang-org-x-text-union): New variable.
This commit is contained in:
Leo Famulari 2017-10-11 20:29:02 -04:00
parent 4c3cc9496c
commit ae8c7774c0
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 25 additions and 0 deletions

View File

@ -1283,6 +1283,31 @@ for low-level interaction with the operating system.")
(home-page "https://go.googlesource.com/sys")
(license bsd-3))))
(define* (go-golang-org-x-text-union #:optional
(packages (list go-golang-org-x-text-transform
go-golang-org-x-text-unicode-norm)))
(package
(name "go-golang-org-x-text")
(version (package-version go-golang-org-x-text-transform))
(source #f)
(build-system trivial-build-system)
(arguments
'(#:modules ((guix build union))
#:builder (begin
(use-modules (ice-9 match)
(guix build union))
(match %build-inputs
(((names . directories) ...)
(union-build (assoc-ref %outputs "out")
directories))))))
(inputs (map (lambda (package)
(list (package-name package) package))
packages))
(synopsis "Union of the Go text libraries")
(description "A union of the Golang text libraries.")
(home-page (package-home-page go-golang-org-x-text-transform))
(license (package-license go-golang-org-x-text-transform))))
(define-public go-golang-org-x-text-transform
(let ((commit "f4b4367115ec2de254587813edaa901bc1c723a8")
(revision "0"))