mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
98f2990691
commit
85b0321908
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue