guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add ruby-libxml


From: Pjotr Prins
Subject: [PATCH] gnu: Add ruby-libxml
Date: Tue, 15 Sep 2015 15:33:49 +0200
User-agent: Heirloom mailx 12.5 6/20/10

* 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 via email to

[Prev in Thread] Current Thread [Next in Thread]