diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:59:53 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-28 11:21:19 +0000 |
commit | 225074e87beba8e6657353f002cfa06e508bed31 (patch) | |
tree | 53f232b98e97a5f8e496e7e8135814498ac2f104 | |
parent | 6e082360d9fec2cd2e83b81954084a36314beacf (diff) | |
download | guix-225074e87beba8e6657353f002cfa06e508bed31.tar guix-225074e87beba8e6657353f002cfa06e508bed31.tar.gz |
gnu: Add ruby-jbuilder.
-rw-r--r-- | gnu/packages/ruby.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 04a292ff78..d08463a7ae 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7990,3 +7990,37 @@ but it can function as a stand-alone templating engine.") (home-page "https://github.com/turbolinks/turbolinks-rails") (license license:expat))) + +(define-public ruby-jbuilder + (package + (name "ruby-jbuilder") + (version "2.7.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "jbuilder" version)) + (sha256 + (base32 + "1n3myqk2hdnidzzbgcdz2r1y4cr5vpz5nkfzs0lz4y9gkjbjyh2j")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'fix-dependencies' + (lambda _ + (substitute* "Gemfile" + ((".*pry.*") "")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-mocha" ,ruby-mocha) + ("ruby-appraisal" ,ruby-appraisal))) + (propagated-inputs + `(("ruby-activesupport" ,ruby-activesupport) + ("ruby-multi-json" ,ruby-multi-json))) + (synopsis + "Create JSON structures via a Builder-style DSL") + (description + "Create JSON structures via a Builder-style DSL") + (home-page "https://github.com/rails/jbuilder") + (license license:expat))) |