Created
December 13, 2018 01:15
-
-
Save pjotrp/44757cc97239a91e0b6d37aab07387bc to your computer and use it in GitHub Desktop.
GNU Guix package for mruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-public mruby | |
(package | |
(name "mruby") | |
(version "2.0.0") | |
(source (origin | |
(method url-fetch) | |
(uri (string-append "https://github.com/mruby/mruby/archive/" version ".zip")) | |
(sha256 | |
(base32 | |
"00308wlldj59imsdxp1k9dwbw1x2cz90kvygq9l4hq9m64lj6kfm")))) | |
(build-system ruby-build-system) | |
(inputs | |
`(("bison" ,bison) | |
("unzip" ,unzip))) | |
(arguments | |
`(#:tests? #f)) ;; Tests require network access | |
(home-page "http://mruby.org") | |
(synopsis "Lightweight embedable implementation of the Ruby programming language") | |
(description "Bytecode compiler for linking and embedding Ruby within an application.") | |
(license license:expat))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Above installs mruby but I still need to copy binaries, include path and libs into the store to make it work. Should be fairly trivial.
You can build mruby in a GNU Guix container with
~/.config/guix/current/bin/guix environment -C guix --ad-hoc ruby bison
Tests pass without network access