diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ruby.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 45ca8a5cea..20222b62ef 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6215,3 +6215,28 @@ CoffeeScript is released.") (home-page "https://rubygems.org/gems/coffee-script-source") (license license:expat))) + +(define-public ruby-execjs + (package + (name "ruby-execjs") + (version "2.7.0") + (source + (origin + (method url-fetch) + ;; fetch from github as the gem does not contain testing code + (uri (string-append "https://github.com/rails/execjs/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "0h1bi96gks205pz2mn2zwldz8h0ajwggyi85bwfbksmrsn2lwick")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; tests require ruby-therubyracer and thus v8. + (native-inputs + `(("bundler" ,bundler))) + (synopsis + "ExecJS lets you run JavaScript code from Ruby.") + (description + "ExecJS lets you run JavaScript code from Ruby.") + (home-page "https://github.com/rails/execjs") + (license license:expat))) |