summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMartin Marshall <law@martinmarshall.com>2023-04-02 22:01:17 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-12 08:26:25 -0400
commit314d23a3d863f28d4d1c7d97a701f8c3dcff5434 (patch)
treeb4bc2fe0893c426a338f80dd7a752c7b6228af89 /gnu
parent3dc2658a577e5918ec3404f1aefb7be655e97233 (diff)
gnu: Add mairix.
* gnu/packages/mail.scm (mairix): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 9f3dc2c97a..296898be6b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -408,6 +408,45 @@ software. GNU Mailutils provides the following commands:
;; Libraries are under LGPLv3+, and programs under GPLv3+.
(list license:gpl3+ license:lgpl3+))))
+(define-public mairix
+ (let ((commit "1cc06f4a73ba4b940008c1ffc398d2ac708cd6d6")
+ (revision "0"))
+ (package
+ (name "mairix")
+ (version (git-version "0.24" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vandry/mairix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12bhmk5j77cl3vjda48cmdysq1c2yjzvfv6zm4hlky6d5g3l49d7"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:parallel-tests? #f
+ #:phases #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (invoke "./configure"
+ (string-append "--prefix=" #$output)))))))
+ (native-inputs
+ (list bison flex))
+ (inputs
+ (list bzip2
+ openssl
+ perl
+ xz
+ zlib))
+ (home-page "https://github.com/vandry/mairix")
+ (synopsis "Program for indexing and searching email messages")
+ (description
+ "Mairix is a program for indexing and searching email messages stored in
+Maildir, MH, MMDF or mbox folders.")
+ (license license:gpl2))))
+
(define-public go-gitlab.com-shackra-goimapnotify
(package
(name "go-gitlab.com-shackra-goimapnotify")