From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epcro-0008O7-1P for guix-patches@gnu.org; Sat, 24 Feb 2018 11:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epcrn-0005Nm-26 for guix-patches@gnu.org; Sat, 24 Feb 2018 11:40:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epcrm-0005Ne-Ts for guix-patches@gnu.org; Sat, 24 Feb 2018 11:40:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epcrm-0000EA-NF for guix-patches@gnu.org; Sat, 24 Feb 2018 11:40:06 -0500 Subject: [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri. Resent-Message-ID: From: Christopher Baines Date: Sat, 24 Feb 2018 16:39:50 +0000 Message-Id: <20180224163952.7441-7-mail@cbaines.net> In-Reply-To: <20180224163952.7441-1-mail@cbaines.net> References: <20180224163952.7441-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: 28885@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-data_uri): New variable. --- gnu/packages/ruby.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f94ac5400..1409f1c58 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1965,6 +1965,26 @@ run as a daemon and to be controlled by simple start/stop/restart commands.") (home-page "https://github.com/thuehlinger/daemons") (license license:expat))) +(define-public ruby-data_uri + (package + (name "ruby-data_uri") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "data_uri" version)) + (sha256 + (base32 + "0fzkxgdxrlbfl4537y3n9mjxbm28kir639gcw3x47ffchwsgdcky")))) + (build-system ruby-build-system) + (synopsis "URI class for parsing data URIs") + (description + "Data @acronym{URI, universal resource idenfitier}s allow resources to be +embedded inside a URI. The URI::Data class provides support for parsing these +URIs using the normal URI.parse method.") + (home-page "http://github.com/dball/data_uri") + (license license:expat))) + (define-public ruby-git (package (name "ruby-git") -- 2.16.1