[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: Add ruby-builder.
From: |
Ricardo Wurmus |
Subject: |
01/06: gnu: Add ruby-builder. |
Date: |
Mon, 31 Aug 2015 15:01:45 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit cf36174ffbcbc2039d1415f800672c2f69c9a7fe
Author: Ricardo Wurmus <address@hidden>
Date: Fri Aug 28 17:24:45 2015 +0200
gnu: Add ruby-builder.
* gnu/packages/ruby.scm (ruby-builder): New variable.
---
gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 561fe4d..d020cd5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014 Ludovic Courtès <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2014 David Thompson <address@hidden>
+;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -364,6 +365,32 @@ specified in a \"Gemfile\", as well as their
dependencies.")
(home-page "http://bundler.io/")
(license license:expat)))
+(define-public ruby-builder
+ (package
+ (name "ruby-builder")
+ (version "3.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "builder" version))
+ (sha256
+ (base32
+ "14fii7ab8qszrvsvhz6z2z3i4dw0h41a62fjr2h1j8m41vbrmyv2"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'do-not-use-rvm
+ (lambda _
+ (substitute* "rakelib/tags.rake"
+ (("RVM_GEMDIR = .*") "RVM_GEMDIR = 'no-rvm-please'\n"))
+ #t)))))
+ (synopsis "Ruby library to create structured data")
+ (description "Builder provides a number of builder objects that make it
+easy to create structured data. Currently the following builder objects are
+supported: XML Markup and XML Events.")
+ (home-page "https://github.com/jimweirich/builder")
+ (license license:expat)))
+
(define-public ruby-useragent
(package
(name "ruby-useragent")
- branch master updated (ab952dc -> 2cb3ab4), Ricardo Wurmus, 2015/08/31
- 05/06: gnu: Add ruby-xml-simple., Ricardo Wurmus, 2015/08/31
- 06/06: gnu: Add ruby-thor., Ricardo Wurmus, 2015/08/31
- 02/06: gnu: Add ruby-rjb., Ricardo Wurmus, 2015/08/31
- 03/06: gnu: Add ruby-atoulme-antwrap., Ricardo Wurmus, 2015/08/31
- 01/06: gnu: Add ruby-builder.,
Ricardo Wurmus <=
- 04/06: gnu: Add ruby-orderedhash., Ricardo Wurmus, 2015/08/31