From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyD0J-0005EZ-A8 for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyD0F-0007K2-Be for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyD0F-0007J1-7W for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyD0E-0000f8-5l for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:02 -0400 Subject: [bug#28583] [PATCH 2/8] gnu: Add ruby-multi-json. Resent-Message-ID: From: Christopher Baines Date: Sat, 30 Sep 2017 09:19:29 +0100 Message-Id: <20170930081935.19671-2-mail@cbaines.net> In-Reply-To: <20170930081935.19671-1-mail@cbaines.net> References: <20170930081935.19671-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28583@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-multi-json): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ff6be875f..504eb60a9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1865,6 +1865,28 @@ net/http library.") (home-page "https://github.com/nicksieger/multipart-post") (license license:expat))) +(define-public ruby-multi-json + (package + (name "ruby-multi-json") + (version "1.12.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "multi_json" version)) + (sha256 + (base32 + "1raim9ddjh672m32psaa9niw67ywzjbxbdb8iijx3wv9k5b0pk2x")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) ;; No testsuite included in the gem. + (synopsis "Common interface to multiple JSON libraries for Ruby") + (description + "This package provides a common interface to multiple JSON libraries, +including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, +NSJSONSerialization, gson.rb, JrJackson, and OkJson.") + (home-page "http://github.com/intridea/multi_json") + (license license:expat))) + (define-public ruby-arel (package (name "ruby-arel") -- 2.14.1