mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: go-gitlab-com-ambrevar-golua-unicode: Move to music.
* gnu/packages/golang.scm (go-gitlab-com-ambrevar-golua-unicode): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: Ie0278f63597ff6a6ddc0b7b8e60e79b74a114a2e
This commit is contained in:
parent
9db5fb445d
commit
4e23e84eb0
2 changed files with 40 additions and 37 deletions
|
@ -1133,43 +1133,6 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
||||||
run a Lua virtual machine.")
|
run a Lua virtual machine.")
|
||||||
(license license:expat))))
|
(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
|
|
||||||
(list lua 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))))
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
||||||
;;; of a merge conflict, place them above by existing packages with similar
|
;;; of a merge conflict, place them above by existing packages with similar
|
||||||
|
|
|
@ -6413,6 +6413,46 @@ methods can be called and usual operations such as indexing or arithmetic can
|
||||||
be performed.")
|
be performed.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
|
;; demlo is only one user of this package, keep it next to it to prevent
|
||||||
|
;; importing lua module into golang-xyz.
|
||||||
|
(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
|
||||||
|
(list lua 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))))
|
||||||
|
|
||||||
|
|
||||||
(define-public fmit
|
(define-public fmit
|
||||||
(package
|
(package
|
||||||
(name "fmit")
|
(name "fmit")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue