unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73433] [PATCH] gnu: fetchmail: Wrap fetchmailconf.
@ 2024-09-23  7:03 Efraim Flashner
       [not found] ` <handler.73433.B.17270750615568.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Efraim Flashner @ 2024-09-23  7:03 UTC (permalink / raw)
  To: 73433; +Cc: andreas, superfly.johnson, Efraim Flashner

* 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
---
 gnu/packages/mail.scm | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 52ac86dfbda..e4316831d03 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -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

base-commit: 41e408eb1f93d96b549d345e2de74143220b7b76
-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-29 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23  7:03 [bug#73433] [PATCH] gnu: fetchmail: Wrap fetchmailconf Efraim Flashner
     [not found] ` <handler.73433.B.17270750615568.ack@debbugs.gnu.org>
2024-09-29 16:11   ` bug#73433: Acknowledgement ([PATCH] gnu: fetchmail: Wrap fetchmailconf.) Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).