From 06248b6c41d4f6cd3346d1f91f570b49b05b7ccd Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 1 Aug 2018 07:42:59 +0100 Subject: gnu: Add ruby-jeweler. * gnu/packages/ruby.scm (ruby-jeweler): New variable. --- gnu/packages/ruby.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0d6716386a..6db0edaac1 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4034,6 +4034,47 @@ when working with Ruby code.") ;; There is no mention of the "or later" clause. (license license:gpl2))) +(define-public ruby-jeweler + (package + (name "ruby-jeweler") + (version "2.3.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "jeweler" version)) + (sha256 + (base32 + "0jbivh9vf9wm91kwjnlcvswqyk2g24bnxj9gavinx9jh4bphagi5")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-builder" ,ruby-builder) + ("bundler" ,bundler) + ("ruby-git" ,ruby-git) + ("ruby-github-api" ,ruby-github-api) + ("ruby-highline" ,ruby-highline) + ("ruby-nokogiri" ,ruby-nokogiri) + ("ruby-psych" ,ruby-psych) + ("ruby-rake" ,ruby-rake) + ("ruby-rdoc" ,ruby-rdoc) + ("ruby-semver2" ,ruby-semver2))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'delete-Gemfile.lock + (lambda _ + ;; Bundler isn't being used for fetching dependendencies, so + ;; delete the Gemfile.lock + (delete-file "Gemfile.lock") + #t + ))))) + (synopsis + "Simple and opinionated helper for creating Rubygem projects on GitHub") + (description + "Simple and opinionated helper for creating Rubygem projects on GitHub") + (home-page + "http://github.com/technicalpickles/jeweler") + (license license:expat))) + (define-public ruby-json (package (name "ruby-json") -- cgit v1.2.3