unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add ruby-libxml
@ 2015-09-15 13:33 Pjotr Prins
  0 siblings, 0 replies; 4+ messages in thread
From: Pjotr Prins @ 2015-09-15 13:33 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ee0acc8..1ca5f96 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -465,6 +465,32 @@ extensions.")
     (home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
     (license license:public-domain)))
 
+(define-public ruby-libxml
+  (package
+    (name "ruby-libxml")
+    (version "2.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "libxml-ruby" version))
+        (sha256
+          (base32
+            "1dhjqp4r9vkdp00l6h1cj8qfndzxlhlxk6b9g0w4v55gz857ilhb"))))
+    (build-system ruby-build-system)
+    (inputs `(("zlib" ,zlib)
+              ("libxml2" ,libxml2)))
+    (arguments
+     '(#:tests? #f  ; tests need installation of build first
+       #:gem-flags (list "--"
+                         (string-append "--with-xml2-include="
+                                        (assoc-ref %build-inputs "libxml2")
+                                        "/include/libxml2" ))))
+    (synopsis "Ruby bindings for the GNOME Libxml2 XML toolkit")
+    (description "The Libxml-Ruby project provides Ruby language
+bindings for the GNOME Libxml2 XML toolkit.")
+    (home-page "http://xml4r.github.com/libxml-ruby")
+    (license license:expat)))
+
 (define-public ruby-xml-simple
   (package
     (name "ruby-xml-simple")
-- 
2.4.3

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

* [PATCH] gnu: Add ruby-libxml
@ 2015-09-15 13:47 Pjotr Prins
  0 siblings, 0 replies; 4+ messages in thread
From: Pjotr Prins @ 2015-09-15 13:47 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ee0acc8..1ca5f96 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -465,6 +465,32 @@ extensions.")
     (home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
     (license license:public-domain)))
 
+(define-public ruby-libxml
+  (package
+    (name "ruby-libxml")
+    (version "2.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "libxml-ruby" version))
+        (sha256
+          (base32
+            "1dhjqp4r9vkdp00l6h1cj8qfndzxlhlxk6b9g0w4v55gz857ilhb"))))
+    (build-system ruby-build-system)
+    (inputs `(("zlib" ,zlib)
+              ("libxml2" ,libxml2)))
+    (arguments
+     '(#:tests? #f  ; tests need installation of build first
+       #:gem-flags (list "--"
+                         (string-append "--with-xml2-include="
+                                        (assoc-ref %build-inputs "libxml2")
+                                        "/include/libxml2" ))))
+    (synopsis "Ruby bindings for the GNOME Libxml2 XML toolkit")
+    (description "The Libxml-Ruby project provides Ruby language
+bindings for the GNOME Libxml2 XML toolkit.")
+    (home-page "http://xml4r.github.com/libxml-ruby")
+    (license license:expat)))
+
 (define-public ruby-xml-simple
   (package
     (name "ruby-xml-simple")
-- 
2.4.3

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

* Re: [PATCH] gnu: Add ruby-libxml
  2015-09-15 14:39     ` Thompson, David
@ 2015-09-17  5:37       ` Pjotr Prins
  2015-09-19 16:34         ` Thompson, David
  0 siblings, 1 reply; 4+ messages in thread
From: Pjotr Prins @ 2015-09-17  5:37 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel

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

Please push if OK.


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

From 6ef3fbc9fea7ec68def9b66f6091bc4b0423e78c Mon Sep 17 00:00:00 2001
Date: Tue, 15 Sep 2015 13:32:34 +0000
Subject: [PATCH] gnu: Add ruby-libxml
To: guix-devel@gnu.org
From: Pjotr Prins <pjotr.public12@thebird.nl>

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ee0acc8..507ce2f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -465,6 +465,32 @@ extensions.")
     (home-page "http://codeforpeople.com/lib/ruby/orderedhash/")
     (license license:public-domain)))
 
+(define-public ruby-libxml
+  (package
+    (name "ruby-libxml")
+    (version "2.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "libxml-ruby" version))
+        (sha256
+          (base32
+           "1dhjqp4r9vkdp00l6h1cj8qfndzxlhlxk6b9g0w4v55gz857ilhb"))))
+    (build-system ruby-build-system)
+    (inputs `(("zlib" ,zlib)
+              ("libxml2" ,libxml2)))
+    (arguments
+     '(#:tests? #f  ; tests need installation of build first
+       #:gem-flags (list "--"
+                         (string-append "--with-xml2-include="
+                                        (assoc-ref %build-inputs "libxml2")
+                                        "/include/libxml2" ))))
+    (synopsis "Ruby bindings for the GNOME Libxml2 XML toolkit")
+    (description "The Libxml-Ruby project provides Ruby language
+bindings for the GNOME Libxml2 XML toolkit.")
+    (home-page "http://xml4r.github.com/libxml-ruby")
+    (license license:expat)))
+
 (define-public ruby-xml-simple
   (package
     (name "ruby-xml-simple")
-- 
2.4.3


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

* Re: [PATCH] gnu: Add ruby-libxml
  2015-09-17  5:37       ` [PATCH] gnu: Add ruby-libxml Pjotr Prins
@ 2015-09-19 16:34         ` Thompson, David
  0 siblings, 0 replies; 4+ messages in thread
From: Thompson, David @ 2015-09-19 16:34 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

On Thu, Sep 17, 2015 at 1:37 AM, Pjotr Prins <pjotr.public12@thebird.nl> wrote:
> Please push if OK.

I cleaned a few things up and pushed.  Thanks.

- Dave

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

end of thread, other threads:[~2015-09-19 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15 13:47 [PATCH] gnu: Add ruby-libxml Pjotr Prins
  -- strict thread matches above, loose matches on Subject: below --
2015-09-15 13:33 Pjotr Prins
2015-09-15 12:15 [PATCH] gnu: Add ruby-libxml and bioruby Pjotr Prins
2015-09-15 12:58 ` Thompson, David
2015-09-15 13:19   ` Pjotr Prins
2015-09-15 14:39     ` Thompson, David
2015-09-17  5:37       ` [PATCH] gnu: Add ruby-libxml Pjotr Prins
2015-09-19 16:34         ` Thompson, David

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).