summaryrefslogtreecommitdiff
path: root/gnu/packages/rails.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-09 15:48:26 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:36 -0400
commitbfb935ff3cc8e7885441331eb97f9a3846b12d71 (patch)
treee9c2caf8c49c2063b29daad6782c0f650ac83705 /gnu/packages/rails.scm
parent296ad7b87631ad91d40ddf85c7f43414dd43f847 (diff)
gnu: ruby-actionmailbox: Update to 7.0.4.3.
* gnu/packages/rails.scm (ruby-actionmailbox): Update to 7.0.4.3. [source]: Use ruby-rail-monorepo. [arguments]: Add #:phases argument. [propagated-inputs]: Add ruby-net-imap, ruby-net-pop and ruby-net-smtp.
Diffstat (limited to 'gnu/packages/rails.scm')
-rw-r--r--gnu/packages/rails.scm26
1 files changed, 14 insertions, 12 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 6e26c8966a..86ef853ca9 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -675,25 +675,27 @@ allowing files to be attached to ActiveRecord models.")
(define-public ruby-actionmailbox
(package
(name "ruby-actionmailbox")
- (version "6.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (rubygems-uri "actionmailbox" version))
- (sha256
- (base32
- "0wv2p24xn4f0kj8kiyagkn934hzrcp98vzjqxwd4r75qq0cijadp"))))
+ (version %ruby-rails-version)
+ (source ruby-rails-monorepo)
(build-system ruby-build-system)
- (arguments
- '(;; No included tests
- #:tests? #f))
+ (arguments
+ (list
+ #:tests? #f ;avoid a cycle with ruby-rails
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'chdir
+ (lambda _
+ (chdir "actionmailbox"))))))
(propagated-inputs
(list ruby-actionpack
ruby-activejob
ruby-activerecord
ruby-activestorage
ruby-activesupport
- ruby-mail))
+ ruby-mail
+ ruby-net-imap
+ ruby-net-pop
+ ruby-net-smtp))
(synopsis "Receive and process incoming emails in Rails applications")
(description
"ActionMailbox receives and processes incoming emails in Rails applications.")