From ca09c4b5f25b47cc9aa9159e83dd37b75a2f7cff Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 28 Jan 2019 16:25:11 +0000 Subject: [PATCH] gnu: Add ruby-activejob. * gnu/packages/rails.scm (ruby-activejob): 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 e793a2e8e2..625d19a570 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -280,3 +280,28 @@ applications. These work with any Rack-compatible server.") WebSockets it allows for real-time features in web applications.") (home-page "https://rubyonrails.org/") (license license:expat))) + +(define-public ruby-activejob + (package + (name "ruby-activejob") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "activejob" version)) + (sha256 + (base32 + "1jjkl62x2aprg55x9rpm0h2c82vr2qr989hg3l9r21l01q4822ir")))) + (build-system ruby-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("ruby-activesupport" ,ruby-activesupport) + ("ruby-globalid" ,ruby-globalid))) + (synopsis "Declare job classes for multiple backends") + (description + "ActiveJob allows declaring job classes in a common way across Rails +applications.") + (home-page "https://rubyonrails.org/") + (license license:expat)))