all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Add rake.
@ 2015-08-28 13:14 Ricardo Wurmus
  2015-08-28 13:34 ` Thompson, David
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2015-08-28 13:14 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: 0001-gnu-Add-rake.patch --]
[-- Type: text/x-patch, Size: 1747 bytes --]

From d5e814678612788d76e0bf9f602e69b4dee1a9a9 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 15:11:43 +0200
Subject: [PATCH] gnu: Add rake.

* gnu/packages/ruby.scm (rake): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9a702dd..14828d3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2014 David Thompson <davet@gnu.org>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -364,6 +365,26 @@ specified in a \"Gemfile\", as well as their dependencies.")
     (home-page "http://bundler.io/")
     (license license:expat)))
 
+(define-public rake
+  (package
+    (name "rake")
+    (version "10.4.2")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "rake" version))
+              (sha256
+               (base32
+                "1rn03rqlf1iv6n87a78hkda2yqparhhaivfjpizblmxvlw2hk5r8"))))
+    (build-system ruby-build-system)
+    (native-inputs
+     `(("ruby-hoe" ,ruby-hoe)
+       ("ruby-minitest" ,ruby-minitest)))
+    (synopsis "Make-like program for Ruby")
+    (description "Rake is a Make-like program implemented in Ruby.  Tasks and
+dependencies are specified in standard Ruby syntax.")
+    (home-page "https://github.com/ruby/rake")
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Add rake.
  2015-08-28 13:14 [PATCH] Add rake Ricardo Wurmus
@ 2015-08-28 13:34 ` Thompson, David
  2015-08-28 15:32   ` [PATCH] Add builder, rjb, antwrap, orderedhash, xml-simple, thor Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Thompson, David @ 2015-08-28 13:34 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[ Forgot to the CC the list.  Apologies for the duplicate email, Ricardo ]

Hi Ricardo,

Rake 10.4.2 comes with Ruby 2.2.3:

    $ guix environment --ad-hoc ruby -E "rake --version"
    rake, version 10.4.2

Is this for use with an older Ruby version?  If so, we should make
that explicit by altering the build system arguments.  This reminds me
that I need to submit a patch for my 'package-with-ruby' procedure
that behaves a lot like 'package-with-python2' but works with any Ruby
package object.

- Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Add builder, rjb, antwrap, orderedhash, xml-simple, thor
  2015-08-28 13:34 ` Thompson, David
@ 2015-08-28 15:32   ` Ricardo Wurmus
  2015-08-29  0:45     ` Thompson, David
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2015-08-28 15:32 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

Hi,

> Rake 10.4.2 comes with Ruby 2.2.3:
>
>     $ guix environment --ad-hoc ruby -E "rake --version"
>     rake, version 10.4.2

Thanks for the hint!

To make up for this useless patch I’ve attached a patch set to add six
gems.

I’m currently trying to work my way up to “buildr”, which I might
be able to use to build the dependencies for “maven”, which is a
fundamental build tool for a large number of Java packages.

~~ Ricardo


[-- Attachment #2: 0001-gnu-Add-ruby-builder.patch --]
[-- Type: text/x-patch, Size: 2056 bytes --]

From 981df1559fab6b77ec9cfc820aa5b77a4fb75475 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 17:24:45 +0200
Subject: [PATCH 1/6] gnu: Add ruby-builder.

* gnu/packages/ruby.scm (ruby-builder): New variable.
---
 gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9a702dd..3ee5d31 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2014 David Thompson <davet@gnu.org>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -364,6 +365,33 @@ 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 gem bundler")
+    (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")
-- 
2.1.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-Add-ruby-rjb.patch --]
[-- Type: text/x-patch, Size: 1999 bytes --]

From 035be27211cbffe7cf9b66fefc8826ebb0e69aa5 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 17:25:42 +0200
Subject: [PATCH 2/6] gnu: Add ruby-rjb.

* gnu/packages/ruby.scm (ruby-rjb): New variable.
---
 gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3ee5d31..38c6367 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -26,6 +26,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages java)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages gdbm)
   #:use-module (gnu packages tls)
@@ -392,6 +393,34 @@ supported: XML Markup and XML Events.")
     (home-page "https://github.com/jimweirich/builder")
     (license license:expat)))
 
+(define-public ruby-rjb
+  (package
+    (name "ruby-rjb")
+    (version "1.5.3")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "rjb" version))
+              (sha256
+               (base32
+                "0gzs92dagk981s4vrymnqg0vll783b9k564j0cdgp167nc5a2zg4"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:tests? #f ; no rakefile
+       #:phases
+       (modify-phases %standard-phases
+         (add-before
+          'build 'set-java-home
+          (lambda* (#:key inputs #:allow-other-keys)
+            (setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
+            #t)))))
+    (native-inputs
+     `(("jdk" ,icedtea7 "jdk")))
+    (synopsis "Ruby-to-Java bridge using the Java Native Interface")
+    (description "RJB is a bridge program that connects Ruby and Java via the
+Java Native Interface.")
+    (home-page "http://www.artonx.org/collabo/backyard/?RubyJavaBridge")
+    (license license:lgpl2.1+)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")
-- 
2.1.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0003-gnu-Add-ruby-atoulme-antwrap.patch --]
[-- Type: text/x-patch, Size: 1638 bytes --]

From 26a833352b201dce452423524804d2e3253b3343 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 17:26:07 +0200
Subject: [PATCH 3/6] gnu: Add ruby-atoulme-antwrap.

* gnu/packages/ruby.scm (ruby-atoulme-antwrap): New variable.
---
 gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 38c6367..3d6c93f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -421,6 +421,30 @@ Java Native Interface.")
     (home-page "http://www.artonx.org/collabo/backyard/?RubyJavaBridge")
     (license license:lgpl2.1+)))
 
+(define-public ruby-atoulme-antwrap
+  (package
+    (name "ruby-atoulme-antwrap")
+    (version "0.7.5")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "atoulme-Antwrap" version))
+              (sha256
+               (base32
+                "05s3iw44lqa81f8nfy5f0xjj808600h82zb9bsh46b9kcq2w2kmz"))))
+    (build-system ruby-build-system)
+    ;; Test data required for most of the tests are not included.
+    (arguments `(#:tests? #f))
+    (native-inputs
+     `(("ruby-hoe" ,ruby-hoe)))
+    (inputs
+     `(("ruby-rjb" ,ruby-rjb)))
+    (synopsis "Ruby wrapper for the Ant build tool")
+    (description "Antwrap is a Ruby module that wraps the Apache Ant build
+tool.  Antwrap can be used to invoke Ant tasks from a Ruby or a JRuby
+script.")
+    (home-page "http://rubyforge.org/projects/antwrap/")
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")
-- 
2.1.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: 0004-gnu-Add-ruby-orderedhash.patch --]
[-- Type: text/x-patch, Size: 1466 bytes --]

From a85b8ef75e9f20b923f156d8d499e450f5d04433 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 17:26:35 +0200
Subject: [PATCH 4/6] gnu: Add ruby-orderedhash.

* gnu/packages/ruby.scm (ruby-orderedhash): New variable.
---
 gnu/packages/ruby.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3d6c93f..7f8b4c6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -445,6 +445,26 @@ script.")
     (home-page "http://rubyforge.org/projects/antwrap/")
     (license license:expat)))
 
+(define-public ruby-orderedhash
+  (package
+    (name "ruby-orderedhash")
+    (version "0.0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "orderedhash" version))
+              (sha256
+               (base32
+                "0fryy7f9jbpx33jq5m402yqj01zcg563k9fsxlqbhmq638p4bzd7"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; no test suite
+    (synopsis "Ruby library providing an order-preserving hash")
+    (description "Orderedhash is a Ruby library providing a hash
+implementation that preserves the order of items and features some array-like
+extensions.")
+    (home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
+    (license license:public-domain)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")
-- 
2.1.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #6: 0005-gnu-Add-ruby-xml-simple.patch --]
[-- Type: text/x-patch, Size: 1385 bytes --]

From f49f42d5aaec4ab3fdf9031dd9fc33c36f230460 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 17:21:48 +0200
Subject: [PATCH 5/6] gnu: Add ruby-xml-simple.

* gnu/packages/ruby.scm (ruby-xml-simple): New variable.
---
 gnu/packages/ruby.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7f8b4c6..6009d8c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -465,6 +465,25 @@ extensions.")
     (home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
     (license license:public-domain)))
 
+(define-public ruby-xml-simple
+  (package
+    (name "ruby-xml-simple")
+    (version "1.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "xml-simple" version))
+              (sha256
+               (base32
+                "0xlqplda3fix5pcykzsyzwgnbamb3qrqkgbrhhfz2a2fxhrkvhw8"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; no test suite
+    (synopsis "Simple Ruby library for XML processing")
+    (description "This library provides a simple API for XML processing in
+Ruby.")
+    (home-page "https://github.com/maik/xml-simple")
+    (license (package-license ruby))))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")
-- 
2.1.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #7: 0006-gnu-Add-ruby-thor.patch --]
[-- Type: text/x-patch, Size: 1384 bytes --]

From b94a7147ce1c46aecfcb25426d614fbd8b6c04ec Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 28 Aug 2015 17:22:28 +0200
Subject: [PATCH 6/6] gnu: Add ruby-thor.

* gnu/packages/ruby.scm (ruby-thor): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6009d8c..fd48e3c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -484,6 +484,27 @@ Ruby.")
     (home-page "https://github.com/maik/xml-simple")
     (license (package-license ruby))))
 
+(define-public ruby-thor
+  (package
+    (name "ruby-thor")
+    (version "0.19.1")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "thor" version))
+              (sha256
+               (base32
+                "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; no test suite
+    (native-inputs
+     `(("bundler" ,bundler)))
+    (synopsis "Ruby toolkit for building command-line interfaces")
+    (description "Thor is a toolkit for building powerful command-line
+interfaces.")
+    (home-page "http://whatisthor.com/")
+    (license license:expat)))
+
 (define-public ruby-useragent
   (package
     (name "ruby-useragent")
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Add builder, rjb, antwrap, orderedhash, xml-simple, thor
  2015-08-28 15:32   ` [PATCH] Add builder, rjb, antwrap, orderedhash, xml-simple, thor Ricardo Wurmus
@ 2015-08-29  0:45     ` Thompson, David
  0 siblings, 0 replies; 4+ messages in thread
From: Thompson, David @ 2015-08-29  0:45 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[ Like the last time, apologies if this web-based mail client misbehaves ]

> From 981df1559fab6b77ec9cfc820aa5b77a4fb75475 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 28 Aug 2015 17:24:45 +0200
> Subject: [PATCH 1/6] gnu: Add ruby-builder.
>
> * gnu/packages/ruby.scm (ruby-builder): New variable.
> ---
>  gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 9a702dd..3ee5d31 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -3,6 +3,7 @@
>  ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
>  ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
>  ;;; Copyright © 2014 David Thompson <davet@gnu.org>
> +;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -364,6 +365,33 @@ 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

I know Emacs doesn't indent this right automatically, but it's
preferable to put those two symbols on the previous line.  The lambda
below should stay indented as-is.

> +          (lambda _
> +            (substitute* "rakelib/tags.rake"
> +              (("RVM_GEMDIR = .*") "RVM_GEMDIR = 'no-rvm-please'\n"))
> +            #t)))))
> +    (synopsis "Ruby gem bundler")

You forgot to add a real synopsis.

> +    (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")

Ah, one of Jim's creations.  RIP.

> +    (license license:expat)))
> +
>  (define-public ruby-useragent
>    (package
>      (name "ruby-useragent")
> --
> 2.1.0

> From 035be27211cbffe7cf9b66fefc8826ebb0e69aa5 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 28 Aug 2015 17:25:42 +0200
> Subject: [PATCH 2/6] gnu: Add ruby-rjb.
>
> * gnu/packages/ruby.scm (ruby-rjb): New variable.
> ---
>  gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 3ee5d31..38c6367 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -26,6 +26,7 @@
>    #:use-module (gnu packages compression)
>    #:use-module (gnu packages readline)
>    #:use-module (gnu packages autotools)
> +  #:use-module (gnu packages java)
>    #:use-module (gnu packages libffi)
>    #:use-module (gnu packages gdbm)
>    #:use-module (gnu packages tls)
> @@ -392,6 +393,34 @@ supported: XML Markup and XML Events.")
>      (home-page "https://github.com/jimweirich/builder")
>      (license license:expat)))
>
> +(define-public ruby-rjb
> +  (package
> +    (name "ruby-rjb")
> +    (version "1.5.3")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (rubygems-uri "rjb" version))
> +              (sha256
> +               (base32
> +                "0gzs92dagk981s4vrymnqg0vll783b9k564j0cdgp167nc5a2zg4"))))
> +    (build-system ruby-build-system)
> +    (arguments
> +     `(#:tests? #f ; no rakefile
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-before
> +          'build 'set-java-home

Same style comment as above.

> +          (lambda* (#:key inputs #:allow-other-keys)
> +            (setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
> +            #t)))))
> +    (native-inputs
> +     `(("jdk" ,icedtea7 "jdk")))
> +    (synopsis "Ruby-to-Java bridge using the Java Native Interface")
> +    (description "RJB is a bridge program that connects Ruby and Java via the
> +Java Native Interface.")
> +    (home-page "http://www.artonx.org/collabo/backyard/?RubyJavaBridge")
> +    (license license:lgpl2.1+)))
> +
>  (define-public ruby-useragent
>    (package
>      (name "ruby-useragent")
> --
> 2.1.0

> From 26a833352b201dce452423524804d2e3253b3343 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 28 Aug 2015 17:26:07 +0200
> Subject: [PATCH 3/6] gnu: Add ruby-atoulme-antwrap.
>
> * gnu/packages/ruby.scm (ruby-atoulme-antwrap): New variable.

LGTM.

> From a85b8ef75e9f20b923f156d8d499e450f5d04433 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 28 Aug 2015 17:26:35 +0200
> Subject: [PATCH 4/6] gnu: Add ruby-orderedhash.
>
> * gnu/packages/ruby.scm (ruby-orderedhash): New variable.

LGTM.

> From f49f42d5aaec4ab3fdf9031dd9fc33c36f230460 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 28 Aug 2015 17:21:48 +0200
> Subject: [PATCH 5/6] gnu: Add ruby-xml-simple.
>
> * gnu/packages/ruby.scm (ruby-xml-simple): New variable.
> ---
>  gnu/packages/ruby.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 7f8b4c6..6009d8c 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -465,6 +465,25 @@ extensions.")
>      (home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
>      (license license:public-domain)))
>
> +(define-public ruby-xml-simple
> +  (package
> +    (name "ruby-xml-simple")
> +    (version "1.1.5")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (rubygems-uri "xml-simple" version))
> +              (sha256
> +               (base32
> +                "0xlqplda3fix5pcykzsyzwgnbamb3qrqkgbrhhfz2a2fxhrkvhw8"))))
> +    (build-system ruby-build-system)
> +    (arguments
> +     '(#:tests? #f)) ; no test suite
> +    (synopsis "Simple Ruby library for XML processing")
> +    (description "This library provides a simple API for XML processing in
> +Ruby.")
> +    (home-page "https://github.com/maik/xml-simple")
> +    (license (package-license ruby))))

Why not just 'license:ruby'?

> +
>  (define-public ruby-useragent
>    (package
>      (name "ruby-useragent")
> --
> 2.1.0

> From b94a7147ce1c46aecfcb25426d614fbd8b6c04ec Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 28 Aug 2015 17:22:28 +0200
> Subject: [PATCH 6/6] gnu: Add ruby-thor.
>
> * gnu/packages/ruby.scm (ruby-thor): New variable.

LGTM.

Thank you for all these shiny new Ruby packages.  I'm happy that the
new build system worked well for all of them.  I hope these help you
get closer to sanity with regards to getting Maven packaged.

- Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-29  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 13:14 [PATCH] Add rake Ricardo Wurmus
2015-08-28 13:34 ` Thompson, David
2015-08-28 15:32   ` [PATCH] Add builder, rjb, antwrap, orderedhash, xml-simple, thor Ricardo Wurmus
2015-08-29  0:45     ` Thompson, David

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.