mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: go-github-com-stevedonovan-luar: Move to music.
* gnu/packages/golang.scm (go-github-com-stevedonovan-luar): Move from here ... * gnu/packages/music.scm: ... to here. Change-Id: I22182fc66196e907f87081cb39405f81f8edb84f
This commit is contained in:
parent
28a706dcf7
commit
9db5fb445d
2 changed files with 43 additions and 41 deletions
|
@ -1170,47 +1170,6 @@ regexps. This breaks compatibility with Lua, but Unicode support breaks it
|
||||||
anyways and Go regexps are more powerful.")
|
anyways and Go regexps are more powerful.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public go-github-com-stevedonovan-luar
|
|
||||||
(let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
|
|
||||||
(revision "0"))
|
|
||||||
(package
|
|
||||||
(name "go-github-com-stevedonovan-luar")
|
|
||||||
(version (git-version "0.0.0" revision commit))
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url
|
|
||||||
"https://github.com/stevedonovan/luar")
|
|
||||||
(commit commit)))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(native-inputs
|
|
||||||
(list go-github-com-aarzilli-golua))
|
|
||||||
(arguments
|
|
||||||
`(#:tests? #f ; Upstream tests are broken.
|
|
||||||
#:import-path "github.com/stevedonovan/luar"))
|
|
||||||
(home-page "https://github.com/stevedonovan/luar")
|
|
||||||
(synopsis "Lua reflection bindings for Go")
|
|
||||||
(description "Luar is designed to make using Lua from Go more
|
|
||||||
convenient. Go structs, slices and maps can be automatically converted to Lua
|
|
||||||
tables and vice-versa. The resulting conversion can either be a copy or a
|
|
||||||
proxy. In the latter case, any change made to the result will reflect on the
|
|
||||||
source.
|
|
||||||
|
|
||||||
Any Go function can be made available to Lua scripts, without having to write
|
|
||||||
C-style wrappers.
|
|
||||||
|
|
||||||
Luar support cyclic structures (lists, etc.).
|
|
||||||
|
|
||||||
User-defined types can be made available to Lua as well: their exported
|
|
||||||
methods can be called and usual operations such as indexing or arithmetic can
|
|
||||||
be performed.")
|
|
||||||
(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
|
||||||
|
|
|
@ -6370,6 +6370,49 @@ discard bad quality ones.
|
||||||
(description "Go wrapper for taglib")
|
(description "Go wrapper for taglib")
|
||||||
(license license:unlicense))))
|
(license license:unlicense))))
|
||||||
|
|
||||||
|
;; demlo is only one user of this package, keep it next to it to prevent
|
||||||
|
;; importing lua module into golang-xyz.
|
||||||
|
(define-public go-github-com-stevedonovan-luar
|
||||||
|
(let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "go-github-com-stevedonovan-luar")
|
||||||
|
(version (git-version "0.0.0" revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url
|
||||||
|
"https://github.com/stevedonovan/luar")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-aarzilli-golua))
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; Upstream tests are broken.
|
||||||
|
#:import-path "github.com/stevedonovan/luar"))
|
||||||
|
(home-page "https://github.com/stevedonovan/luar")
|
||||||
|
(synopsis "Lua reflection bindings for Go")
|
||||||
|
(description "Luar is designed to make using Lua from Go more
|
||||||
|
convenient. Go structs, slices and maps can be automatically converted to Lua
|
||||||
|
tables and vice-versa. The resulting conversion can either be a copy or a
|
||||||
|
proxy. In the latter case, any change made to the result will reflect on the
|
||||||
|
source.
|
||||||
|
|
||||||
|
Any Go function can be made available to Lua scripts, without having to write
|
||||||
|
C-style wrappers.
|
||||||
|
|
||||||
|
Luar support cyclic structures (lists, etc.).
|
||||||
|
|
||||||
|
User-defined types can be made available to Lua as well: their exported
|
||||||
|
methods can be called and usual operations such as indexing or arithmetic can
|
||||||
|
be performed.")
|
||||||
|
(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