gnu: msmtp: Use G-Expressions.

* gnu/packages/mail.scm (msmtp)[arguments]: Rewrite using G-Expressions.
This commit is contained in:
Efraim Flashner 2022-08-07 20:36:19 +03:00
parent f63ef9ab0d
commit eed987855c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1736,22 +1736,24 @@ (define-public msmtp
(list pkg-config))
(home-page "https://marlam.de/msmtp/")
(arguments
`(#:configure-flags (list "--with-libgsasl"
"--with-libidn"
"--with-tls=gnutls")
(list
#:configure-flags
#~(list "--with-libgsasl"
"--with-libidn"
"--with-tls=gnutls")
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-additional-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/msmtp"))
(msmtpq "scripts/msmtpq")
(vimfiles (string-append out "/share/vim/vimfiles/syntax")))
(install-file (string-append msmtpq "/msmtpq") bin)
(install-file (string-append msmtpq "/msmtp-queue") bin)
(install-file (string-append msmtpq "/README.msmtpq") doc)
(install-file "scripts/vim/msmtp.vim" vimfiles)))))))
#~(modify-phases %standard-phases
(add-after 'install 'install-additional-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out #$output)
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/msmtp"))
(msmtpq "scripts/msmtpq")
(vimfiles (string-append out "/share/vim/vimfiles/syntax")))
(install-file (string-append msmtpq "/msmtpq") bin)
(install-file (string-append msmtpq "/msmtp-queue") bin)
(install-file (string-append msmtpq "/README.msmtpq") doc)
(install-file "scripts/vim/msmtp.vim" vimfiles)))))))
(properties
'((release-monitoring-url . "https://marlam.de/msmtp/download/")))
(synopsis