From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:59211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goAqj-0000SZ-UL for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goAqZ-0001aW-P3 for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:27 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goAqU-0001Xs-5j for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goAqU-0001VE-1X for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:18 -0500 Subject: [bug#30689] [PATCH 11/39] gnu: Add ruby-activemodel. Resent-Message-ID: From: Christopher Baines Date: Mon, 28 Jan 2019 17:35:52 +0000 Message-Id: <20190128173620.27999-11-mail@cbaines.net> In-Reply-To: <20190128173620.27999-1-mail@cbaines.net> References: <87h8dshesk.fsf@cbaines.net> <20190128173620.27999-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 30689@debbugs.gnu.org Required for ruby-activerecord. * gnu/packages/rails.scm (ruby-activemodel): New variable. --- gnu/packages/rails.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 5348d914cf..80329a3c5b 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -93,3 +93,28 @@ API.") (home-page "https://github.com/banister/debug_inspector") (license license:expat))) + +(define-public ruby-activemodel + (package + (name "ruby-activemodel") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "activemodel" version)) + (sha256 + (base32 + "1xmwi3mw8g4shbjvkhk72ra3r5jccbdsd4piphqka2y1h8s7sxvi")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-activesupport" ,ruby-activesupport))) + (synopsis "Toolkit for building modeling frameworks like Active Record") + (description + "This package provides a toolkit for building modeling frameworks like +Active Record. ActiveSupport handles attributes, callbacks, validations, +serialization, internationalization, and testing.") + (home-page "https://rubyonrails.org/") + (license license:expat))) -- 2.20.1