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.
This commit is contained in:
Maxim Cournoyer 2023-03-09 15:48:26 -05:00
parent 296ad7b876
commit bfb935ff3c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -675,25 +675,27 @@ (define-public ruby-activestorage
(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.")