gnu: mumi: Update to 0.9.0.

* gnu/packages/mail.scm (mumi): Update to 0.9.0.
* gnu/services/web.scm (mumi-config-file): Write mailer-enabled? field.
(mumi-shepherd-services): Remove --disable-mailer argument.
This commit is contained in:
Arun Isaac 2025-03-14 15:51:05 +00:00
parent 98f2990691
commit 85b0321908
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3
2 changed files with 6 additions and 6 deletions

View file

@ -4265,7 +4265,7 @@ It is a replacement for the @command{urlview} program.")
(define-public mumi
(package
(name "mumi")
(version "0.8.0")
(version "0.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -4274,7 +4274,7 @@ It is a replacement for the @command{urlview} program.")
(file-name (git-file-name name version))
(sha256
(base32
"0x605gj6z441xw4fl7x23z3wmbg43cib4q0v8f29f7x88qx8yndm"))))
"0hg0f92388fli1l341ilgqqpga6bigg6fsfimlkf7f8qxngp2l7d"))))
(build-system gnu-build-system)
(arguments
(list

View file

@ -2059,14 +2059,15 @@ WSGIPassAuthorization On
(define mumi-config-file
(match-record-lambda <mumi-configuration>
(file-tags)
(mailer? file-tags)
(computed-file "mumi.conf"
#~(begin
(use-modules (srfi srfi-26))
(call-with-output-file #$output
(cut write
'((file-tags . #$file-tags))
'((mailer-enabled? . #$mailer?)
(file-tags . #$file-tags))
<>))))))
(define (mumi-shepherd-services config)
@ -2085,8 +2086,7 @@ WSGIPassAuthorization On
(start #~(make-forkexec-constructor
`(#$(file-append mumi "/bin/mumi") "web"
,(string-append "--config="
#$(mumi-config-file config))
,@(if #$mailer? '() '("--disable-mailer")))
#$(mumi-config-file config)))
#:environment-variables #$environment
#:user "mumi" #:group "mumi"
#:log-file #$%mumi-log))