diff options
author | David Thompson <davet@gnu.org> | 2015-06-05 08:48:02 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-15 20:27:38 -0400 |
commit | 96086cc540c7c1852506afa901049a13b282ebf6 (patch) | |
tree | 6ec4ff8eb4d000130f9e5cf7f790206d80280896 /gnu/packages/ruby.scm | |
parent | 975b8942a664f9938a9128b4fa617f925078d01b (diff) | |
download | guix-96086cc540c7c1852506afa901049a13b282ebf6.tar guix-96086cc540c7c1852506afa901049a13b282ebf6.tar.gz |
gnu: Add ruby-bacon.
* gnu/packages/ruby.scm (ruby-bacon): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9943de7e0b..1dc0c2e28e 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -364,3 +364,32 @@ specified in a \"Gemfile\", as well as their dependencies.") User Agents.") (home-page "https://github.com/gshutler/useragent") (license license:expat))) + +(define-public ruby-bacon + (package + (name "ruby-bacon") + (version "1.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/chneukirchen/bacon/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g03fxilrrx17dijww68n1lq5d8s69hrxgpga8c1i2k35bzcw5jc")))) + (build-system ruby-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'build 'generate-docs + (lambda _ + ;; This rake task also tries to generate a ChangeLog + ;; file from the Git log, which we don't have. It fails + ;; but creates an empty file, allowing the rest of the + ;; build to succeed. + (zero? (system* "rake" "predist"))))))) + (synopsis "Small RSpec clone") + (description "Bacon is a small RSpec clone providing all essential +features.") + (home-page "https://github.com/chneukirchen/bacon") + (license license:expat))) |