From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:58901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goAqH-0008QV-Bl for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goAqG-0001O1-DX for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goAqG-0001Nw-A3 for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goAqG-0001SI-6c for guix-patches@gnu.org; Mon, 28 Jan 2019 12:37:04 -0500 Subject: [bug#30689] [PATCH 13/39] gnu: Add ruby-activerecord. Resent-Message-ID: From: Christopher Baines Date: Mon, 28 Jan 2019 17:35:54 +0000 Message-Id: <20190128173620.27999-13-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 * gnu/packages/rails.scm (ruby-activerecord): New variable. --- gnu/packages/rails.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 80329a3c5b..a9dae594a5 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -118,3 +118,29 @@ Active Record. ActiveSupport handles attributes, callbacks, validations, serialization, internationalization, and testing.") (home-page "https://rubyonrails.org/") (license license:expat))) + +(define-public ruby-activerecord + (package + (name "ruby-activerecord") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "activerecord" version)) + (sha256 + (base32 + "19a0sns6a5wz2wym25lb1dv4lbrrl5sd1n15s5ky2636znmhz30y")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-activemodel" ,ruby-activemodel) + ("ruby-activesupport" ,ruby-activesupport) + ("ruby-arel" ,ruby-arel))) + (synopsis "Ruby library to connect to relational databases") + (description + "Active Record connects classes to relational database table to establish +an almost zero-configuration persistence layer for applications.") + (home-page "https://rubyonrails.org") + (license license:expat))) -- 2.20.1