[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: Add go-gitlab-com-ambrevar-golua-unicode.
From: |
Pierre Neidhardt |
Subject: |
05/13: gnu: Add go-gitlab-com-ambrevar-golua-unicode. |
Date: |
Sun, 22 Jul 2018 16:55:22 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit f25e3b39d9fb27d2515c1f074847a5c99d025ce4
Author: Pierre Neidhardt <address@hidden>
Date: Fri Jun 22 18:14:33 2018 +0200
gnu: Add go-gitlab-com-ambrevar-golua-unicode.
* gnu/packages/golang.scm (go-gitlab-com-ambrevar-golua-unicode): New
variable.
---
gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9bcf1c7..c941b54 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2106,3 +2106,41 @@ generate ANSI colored strings.")
(description "This package provides @code{lua}, a Go module that can
run a Lua virtual machine.")
(license license:expat))))
+
+(define-public go-gitlab-com-ambrevar-golua-unicode
+ (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144")
+ (revision "0"))
+ (package
+ (name "go-gitlab-com-ambrevar-golua-unicode")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://gitlab.com/ambrevar/golua")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("lua" ,lua)
+ ("go-github-com-aarzilli-golua" ,go-github-com-aarzilli-golua)))
+ (arguments
+ `(#:unpack-path "gitlab.com/ambrevar/golua"
+ #:import-path "gitlab.com/ambrevar/golua/unicode"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key import-path #:allow-other-keys)
+ (setenv "USER" "homeless-dude")
+ (invoke "go" "test" import-path))))))
+ (home-page "https://gitlab.com/ambrevar/golua")
+ (synopsis "Add Unicode support to Golua")
+ (description "This extension to Arzilli's Golua adds Unicode support to
+all functions from the Lua string library. Lua patterns are replaced by Go
+regexps. This breaks compatibility with Lua, but Unicode support breaks it
+anyways and Go regexps are more powerful.")
+ (license license:expat))))
- 07/13: gnu: Add go-gitlab-com-ambrevar-damerau., (continued)
- 07/13: gnu: Add go-gitlab-com-ambrevar-damerau., Pierre Neidhardt, 2018/07/22
- 06/13: gnu: Add go-github-com-yookoala-realpath., Pierre Neidhardt, 2018/07/22
- 01/13: gnu: Add go-github-com-mattn-go-isatty., Pierre Neidhardt, 2018/07/22
- 03/13: gnu: Add go-github-com-mgutz-ansi., Pierre Neidhardt, 2018/07/22
- 02/13: gnu: Add go-github-com-mattn-go-colorable., Pierre Neidhardt, 2018/07/22
- 08/13: gnu: Add go-github-com-stevedonovan-luar., Pierre Neidhardt, 2018/07/22
- 10/13: gnu: Add go-github-com-michiwend-golang-pretty., Pierre Neidhardt, 2018/07/22
- 13/13: gnu: Add demlo., Pierre Neidhardt, 2018/07/22
- 12/13: gnu: Add go-github-com-wtolson-go-taglib., Pierre Neidhardt, 2018/07/22
- 04/13: gnu: Add go-github-com-aarzilli-golua., Pierre Neidhardt, 2018/07/22
- 05/13: gnu: Add go-gitlab-com-ambrevar-golua-unicode.,
Pierre Neidhardt <=
- 09/13: gnu: Add go-github-com-kr-text., Pierre Neidhardt, 2018/07/22
- 11/13: gnu: Add go-github-com-michiwend-gomusicbrainz., Pierre Neidhardt, 2018/07/22