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
|
(define-public mumi
|
||||||
(package
|
(package
|
||||||
(name "mumi")
|
(name "mumi")
|
||||||
(version "0.8.0")
|
(version "0.9.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -4274,7 +4274,7 @@ It is a replacement for the @command{urlview} program.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0x605gj6z441xw4fl7x23z3wmbg43cib4q0v8f29f7x88qx8yndm"))))
|
"0hg0f92388fli1l341ilgqqpga6bigg6fsfimlkf7f8qxngp2l7d"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
|
|
@ -2059,14 +2059,15 @@ WSGIPassAuthorization On
|
||||||
|
|
||||||
(define mumi-config-file
|
(define mumi-config-file
|
||||||
(match-record-lambda <mumi-configuration>
|
(match-record-lambda <mumi-configuration>
|
||||||
(file-tags)
|
(mailer? file-tags)
|
||||||
(computed-file "mumi.conf"
|
(computed-file "mumi.conf"
|
||||||
#~(begin
|
#~(begin
|
||||||
(use-modules (srfi srfi-26))
|
(use-modules (srfi srfi-26))
|
||||||
|
|
||||||
(call-with-output-file #$output
|
(call-with-output-file #$output
|
||||||
(cut write
|
(cut write
|
||||||
'((file-tags . #$file-tags))
|
'((mailer-enabled? . #$mailer?)
|
||||||
|
(file-tags . #$file-tags))
|
||||||
<>))))))
|
<>))))))
|
||||||
|
|
||||||
(define (mumi-shepherd-services config)
|
(define (mumi-shepherd-services config)
|
||||||
|
@ -2085,8 +2086,7 @@ WSGIPassAuthorization On
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
`(#$(file-append mumi "/bin/mumi") "web"
|
`(#$(file-append mumi "/bin/mumi") "web"
|
||||||
,(string-append "--config="
|
,(string-append "--config="
|
||||||
#$(mumi-config-file config))
|
#$(mumi-config-file config)))
|
||||||
,@(if #$mailer? '() '("--disable-mailer")))
|
|
||||||
#:environment-variables #$environment
|
#:environment-variables #$environment
|
||||||
#:user "mumi" #:group "mumi"
|
#:user "mumi" #:group "mumi"
|
||||||
#:log-file #$%mumi-log))
|
#:log-file #$%mumi-log))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue