From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: [PATCH] gnu: Add ruby-libxml Date: Thu, 17 Sep 2015 07:37:22 +0200 Message-ID: <20150917053722.GD9866@thebird.nl> References: <55f80bd4.pVH9EKb+UmuOGLkt%pjotr.public12@thebird.nl> <20150915131935.GA2778@thebird.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="u3/rZRmxL6MmkK24" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcRuq-0003Jp-ON for guix-devel@gnu.org; Thu, 17 Sep 2015 01:39:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcRum-0006kj-RO for guix-devel@gnu.org; Thu, 17 Sep 2015 01:39:28 -0400 Received: from mail.thebird.nl ([95.154.246.10]:59685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcRum-0006kf-LB for guix-devel@gnu.org; Thu, 17 Sep 2015 01:39:24 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Please push if OK. --u3/rZRmxL6MmkK24 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-ruby-libxml.patch" >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 * 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 --u3/rZRmxL6MmkK24--