gnu: fetchmail: Wrap fetchmailconf.

* gnu/packages/mail.scm (fetchmail)[arguments]: Add a phase to wrap
fetchmailconf with GUIX_PYTHONPATH.
[inputs]: Add bash-minimal, python-future, python-wrapper.

Change-Id: I6f48361e7d739bfcaa2d1f20eb177933e5e7a5d8
This commit is contained in:
Efraim Flashner 2024-09-23 10:01:07 +03:00
parent 5bda3f8a34
commit bf2370a525
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -633,9 +633,20 @@ (define-public fetchmail
(arguments
(list #:configure-flags
#~(list (string-append "--with-ssl="
#$(this-package-input "openssl")))))
#$(this-package-input "openssl")))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-fetchmailconf
(lambda _
(wrap-program (string-append #$output "/bin/fetchmailconf")
`("GUIX_PYTHONPATH" ":"
prefix (,(getenv "GUIX_PYTHONPATH")))))))))
(inputs
(list openssl))
(list openssl
;; Needed for fetchmailconf
bash-minimal
python-future
python-wrapper))
(home-page "https://www.fetchmail.info/")
(synopsis "Remote-mail retrieval and forwarding utility")
(description