unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 73433@debbugs.gnu.org
Cc: andreas@enge.fr, superfly.johnson@yahoo.com,
	Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#73433] [PATCH] gnu: fetchmail: Wrap fetchmailconf.
Date: Mon, 23 Sep 2024 10:03:14 +0300	[thread overview]
Message-ID: <7a846ae9ae2d5e39baac76f847e51fbadefa59b4.1727074920.git.efraim@flashner.co.il> (raw)

* 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





             reply	other threads:[~2024-09-23  7:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-23  7:03 Efraim Flashner [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a846ae9ae2d5e39baac76f847e51fbadefa59b4.1727074920.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=73433@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=superfly.johnson@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).