unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] gnu: Add ruby-libxml
Date: Tue, 15 Sep 2015 15:33:49 +0200	[thread overview]
Message-ID: <55f81e3d.DYZkUQnbnWMS1m5Z%pjotr.public12@thebird.nl> (raw)

* 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

             reply	other threads:[~2015-09-15 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 13:33 Pjotr Prins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-15 13:47 [PATCH] gnu: Add ruby-libxml 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55f81e3d.DYZkUQnbnWMS1m5Z%pjotr.public12@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).