aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-25 15:30:40 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-14 14:06:29 +0100
commitbc8277e458fddbb32f4e33f2f6c895a12560d112 (patch)
tree6a1a5c4e1c2ee50c6d85fc90ca6c77a0f1f88066
parent1db6e09fa9e43b64a3b3306199c5e10088fe47f1 (diff)
downloadguix-bc8277e458fddbb32f4e33f2f6c895a12560d112.tar
guix-bc8277e458fddbb32f4e33f2f6c895a12560d112.tar.gz
gnu: Add ruby-gem-hadar.
* gnu/packages/ruby.scm (ruby-gem-hadar): New variable.
-rw-r--r--gnu/packages/ruby.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e4880ca42d..58478e5d24 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1911,6 +1911,39 @@ documentation for Ruby code.")
(home-page "https://github.com/flori/tins")
(license license:expat)))
+(define-public ruby-gem-hadar
+ (package
+ (name "ruby-gem-hadar")
+ (version "1.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "gem_hadar" version))
+ (sha256
+ (base32
+ "1j8qri4m9wf8nbfv0kakrgsv2x8vg10914xgm6f69nw8zi3i39ws"))))
+ (build-system ruby-build-system)
+ ;; This gem needs itself at development time. We disable rebuilding of the
+ ;; gemspec to avoid this loop.
+ (arguments
+ `(#:tests? #f ; there are no tests
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (zero? (system* "gem" "build" "gem_hadar.gemspec")))))))
+ (propagated-inputs
+ `(("git" ,git)
+ ("ruby-tins" ,ruby-tins)
+ ("ruby-sdoc" ,ruby-sdoc)))
+ (native-inputs
+ `(("bundler" ,bundler)))
+ (synopsis "Library for the development of Ruby gems")
+ (description
+ "This library contains some useful functionality to support the
+development of Ruby gems.")
+ (home-page "https://github.com/flori/gem_hadar")
+ (license license:expat)))
+
(define-public ruby-json
(package
(name "ruby-json")