2018-07-31 19:33:27 +02:00
|
|
|
;; -*- no-byte-compile: t; -*-
|
2019-05-05 14:11:59 -04:00
|
|
|
;;; email/notmuch/packages.el
|
2018-07-31 19:33:27 +02:00
|
|
|
|
2021-10-05 14:07:18 +02:00
|
|
|
(package! notmuch
|
|
|
|
:recipe (:pre-build
|
|
|
|
(with-temp-file "emacs/notmuch-version.el"
|
|
|
|
(insert-file-contents "emacs/notmuch-version.el.tmpl")
|
|
|
|
(re-search-forward "%VERSION%")
|
|
|
|
(replace-match
|
|
|
|
(format "\"%s+%s~%.7s\""
|
|
|
|
(with-temp-buffer (insert-file-contents "version.txt")
|
|
|
|
(string-trim (buffer-string)))
|
|
|
|
(save-match-data
|
|
|
|
(let ((desc (doom-call-process "git" "describe" "--abbrev=7" "--match" "[0-9.]*")))
|
|
|
|
(if (zerop (car desc))
|
|
|
|
(car (last (split-string (cdr desc) "-") 2))
|
|
|
|
"??")))
|
|
|
|
(cdr (doom-call-process "git" "rev-parse" "HEAD")))
|
|
|
|
t t)))
|
2024-02-05 17:16:50 -05:00
|
|
|
:pin "2f0320c5f24adfee026e938ebc379ca90e3045d3")
|
2021-10-05 14:07:18 +02:00
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +org)
|
2024-02-05 17:16:50 -05:00
|
|
|
(package! org-mime :pin "9d4584651d89806b79d5993b286d32d6f70499a9"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang org)
|
2024-02-05 17:16:50 -05:00
|
|
|
(package! ol-notmuch :pin "881991d94a1ad750633fcf1f2d8a9e0616979be3"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :completion ivy)
|
2020-04-30 01:31:44 -04:00
|
|
|
(package! counsel-notmuch :pin "a4a1562935e4180c42524c51609d1283e9be0688"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :completion helm)
|
2020-04-30 01:31:44 -04:00
|
|
|
(package! helm-notmuch :pin "97a01497e079a7b6505987e9feba6b603bbec288"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :completion vertico)
|
2024-02-05 17:16:50 -05:00
|
|
|
(package! consult-notmuch :pin "d8022e2ddc67ed4e89cc6f5bbe664fdb04e1e815"))
|