summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-25 22:52:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-04-25 22:52:29 +0300
commit97323e5262da0b352a1f1b9875d3a9ae688f37d2 (patch)
treebcb8ca22cde19a430e6840006a57c00ef09f519e /gnu/packages/mail.scm
parent72b1c9713b8272add8bd9fb9e7f5246b39ba6db2 (diff)
downloadguix-97323e5262da0b352a1f1b9875d3a9ae688f37d2.tar.gz
gnu: libpst: Fix python detection.
* gnu/packages/mail.scm (libpst)[arguments]: Add a phase to detect newer
versions of python3.
[native-inputs]: Add autoconf, automake, gettext-minimal, libool.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index f10c70db52..ef4bfd4172 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
 ;;; Copyright © 2015, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
@@ -4604,10 +4604,20 @@ undelete email messages from Outlook Express .dbx files.")
         (base32
          "0hhbbb8ddsgjhv9y1xd8s9ixlhdnjmhw12v06jwx4j6vpgp1na9x"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'unpack 'fix-python-detection
+             (lambda _
+               (delete-file "configure")
+               (substitute* "m4/ax_python.m4"
+                 (("python3\\.9")
+                  "python3.12 python3.11 python3.10 python3.9")))))))
     (inputs
      (list boost libgsf python zlib))
     (native-inputs
-     (list pkg-config))
+     (list autoconf automake gettext-minimal libtool pkg-config))
     (home-page "https://www.five-ten-sg.com/libpst/")
     (synopsis "Tools to process Outlook email archives")
     (description "The Libpst utilities include @code{readpst} which can