~ruther/guix-local

85b0321908556dd4cb250ce76036442582eb1a90 — Arun Isaac 1 year, 3 months ago 98f2990
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.
2 files changed, 6 insertions(+), 6 deletions(-)

M gnu/packages/mail.scm
M gnu/services/web.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +2 -2
@@ 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

M gnu/services/web.scm => gnu/services/web.scm +4 -4
@@ 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))