summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-28 16:25:11 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-14 21:38:02 +0000
commitca09c4b5f25b47cc9aa9159e83dd37b75a2f7cff (patch)
tree3b7c4ef0f39cb41188ddc280a5bba25f188a2192 /gnu
parentf9da1ada2308718a64deb44f0ebda0cbe2a31fa5 (diff)
downloadguix-ca09c4b5f25b47cc9aa9159e83dd37b75a2f7cff.tar.gz
gnu: Add ruby-activejob.
* gnu/packages/rails.scm (ruby-activejob): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rails.scm25
1 files changed, 25 insertions, 0 deletions
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)))