2017-12-08 22:59:42 -05:00
|
|
|
;; -*- no-byte-compile: t; -*-
|
|
|
|
;;; lang/org/packages.el
|
|
|
|
|
2021-07-18 02:16:00 -04:00
|
|
|
(package! org
|
2021-10-29 14:24:01 +02:00
|
|
|
:recipe (:host github
|
2023-03-09 18:16:10 -05:00
|
|
|
;; REVIEW: I intentionally avoid git.savannah.gnu.org because of SSL
|
2021-10-29 14:24:01 +02:00
|
|
|
;; issues (see #5655), uptime issues, download time, and lack of
|
|
|
|
;; shallow clone support.
|
|
|
|
:repo "emacs-straight/org-mode"
|
2021-07-18 02:16:00 -04:00
|
|
|
:files (:defaults "etc")
|
2021-10-29 14:24:01 +02:00
|
|
|
:depth 1
|
2023-03-09 18:16:10 -05:00
|
|
|
;; HACK: Org has a post-install step that generates org-version.el
|
|
|
|
;; and org-loaddefs.el, but Straight doesn't invoke this step, and
|
|
|
|
;; the former doesn't work if the Org repo is a shallow clone.
|
|
|
|
;; Rather than impose the network burden of a full clone (and other
|
|
|
|
;; redundant work in Org's makefile), I'd rather fake these files
|
|
|
|
;; instead. Besides, Straight already produces a org-autoloads.el,
|
|
|
|
;; so org-loaddefs.el isn't needed.
|
2021-07-18 02:16:00 -04:00
|
|
|
:build t
|
2021-01-08 23:56:27 -05:00
|
|
|
:pre-build
|
2023-03-09 18:16:10 -05:00
|
|
|
(progn
|
|
|
|
(with-temp-file "org-loaddefs.el")
|
|
|
|
(with-temp-file "org-version.el"
|
|
|
|
(let ((version
|
|
|
|
(with-temp-buffer
|
|
|
|
(insert-file-contents (doom-path "lisp/org.el") nil 0 1024)
|
|
|
|
(if (re-search-forward "^;; Version: \\([^\n-]+\\)" nil t)
|
|
|
|
(match-string-no-properties 1)
|
|
|
|
"Unknown"))))
|
|
|
|
(insert (format "(defun org-release () %S)\n" version)
|
|
|
|
(format "(defun org-git-version (&rest _) \"%s-??-%s\")\n"
|
|
|
|
version (cdr (doom-call-process "git" "rev-parse" "--short" "HEAD")))
|
|
|
|
"(provide 'org-version)\n")))))
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "d6f3aed7b1b01df7b092a47099205847b34fdd37")
|
2021-11-04 00:54:48 +01:00
|
|
|
(package! org-contrib
|
|
|
|
:recipe (:host github
|
|
|
|
:repo "emacsmirror/org-contrib")
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "4ac1a280c740df121bcefb2ec99ddba945e857d3")
|
2019-10-25 20:29:00 -04:00
|
|
|
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! avy)
|
2021-09-14 14:04:01 +02:00
|
|
|
(package! htmlize :pin "dd27bc3f26efd728f2b1f01f9e4ac4f61f2ffbf9")
|
2020-01-14 22:32:11 -05:00
|
|
|
(package! org-yt
|
|
|
|
:recipe (:host github :repo "TobiasZawada/org-yt")
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "158e20204cd952a77c1e561552f1cdbfb1a5acb6")
|
2022-02-02 01:56:17 +01:00
|
|
|
(package! ox-clip :pin "ff117cf3c619eef12eccc0ccbfa3f11adb73ea68")
|
|
|
|
(package! toc-org :pin "bf2e4b358efbd860ecafe6e74776de0885d9d100")
|
2020-12-05 16:37:59 -05:00
|
|
|
(package! org-cliplink :pin "13e0940b65d22bec34e2de4bc8cba1412a7abfbc")
|
2019-11-10 20:50:01 -05:00
|
|
|
|
2022-09-06 17:06:36 +01:00
|
|
|
;; TODO Adjust when this is added to GNU ELPA
|
|
|
|
(when (modulep! +contacts)
|
|
|
|
(package! org-contacts
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "7f03eafaad2e5746949c0bebb98353e939c51ade"
|
2022-09-06 17:06:36 +01:00
|
|
|
:recipe (:host nil
|
|
|
|
:type git
|
|
|
|
:repo "https://repo.or.cz/org-contacts.git")))
|
|
|
|
|
|
|
|
(when (and IS-MAC
|
|
|
|
(modulep! :os macos))
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! org-mac-link :pin "3a30a937e135a6637a5126e2ac096b6c90584045"))
|
2022-09-06 17:06:36 +01:00
|
|
|
|
|
|
|
(when (modulep! +passwords)
|
|
|
|
(package! org-passwords
|
|
|
|
:pin "61584aa701defcc0c435d3e7552916235cb655a6"
|
|
|
|
:recipe (:host github
|
|
|
|
:repo "alfaromurillo/org-passwords.el")))
|
|
|
|
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :editor evil +everywhere)
|
2020-01-14 22:32:11 -05:00
|
|
|
(package! evil-org
|
|
|
|
:recipe (:host github :repo "hlissner/evil-org-mode")
|
2020-12-05 16:37:59 -05:00
|
|
|
:pin "a9706da260c45b98601bcd72b1d2c0a24a017700"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :tools pdf)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! org-pdftools :pin "967f48fb5038bba32915ee9da8dc4e8b10ba3376"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :tools magit)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! orgit :pin "4a585029875a1dbbe96d8ac157bd2fd02875f289")
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :tools magit +forge)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! orgit-forge :pin "8ba92a54aee9693b1bf03baf14f83550a7c89b18")))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +brain)
|
2023-02-18 15:37:25 -05:00
|
|
|
(package! org-brain :pin "2bad7732aae1a3051e2a14de2e30f970bbe43c25"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +dragndrop)
|
2022-09-18 11:46:57 +02:00
|
|
|
(package! org-download :pin "19e166f0a8c539b4144cfbc614309d47a9b2a9b7"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +gnuplot)
|
2022-04-17 03:19:29 +02:00
|
|
|
(package! gnuplot :pin "7138b139d2dca9683f1a81325c643b2744aa1ea3")
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! gnuplot-mode :pin "601f6392986f0cba332c87678d31ae0d0a496ce7"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +ipython) ; DEPRECATED
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-ipython :pin "7147455230841744fb5b95dcbe03320313a77124"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +jupyter)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! jupyter :pin "1baabc8f2d0631f8f4308400f9a53f1aadd58d14"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +journal)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! org-journal :pin "18df4d5ae5e15580df42562c143d007c6d28d75f"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +noter)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! org-noter :pin "f9710c976823c180070cee4e958e0dc4531ba0de"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +pomodoro)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! org-pomodoro :pin "3f5bcfb80d61556d35fc29e5ddb09750df962cc6"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +pretty)
|
2023-02-18 15:37:25 -05:00
|
|
|
(package! org-appear :pin "eb9f9db40aa529fe4b977235d86494b115281d17")
|
|
|
|
(package! org-superstar :pin "54c81c27dde2a6dc461bb064e79a8b2089093a2e")
|
2022-02-01 17:12:36 +01:00
|
|
|
(package! org-fancy-priorities :pin "7f677c6c14ecf05eab8e0efbfe7f1b00ae68eb1d"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +present)
|
2019-11-10 20:50:01 -05:00
|
|
|
(package! centered-window
|
2020-01-14 22:32:11 -05:00
|
|
|
:recipe (:host github :repo "anler/centered-window-mode")
|
2022-02-02 01:56:17 +01:00
|
|
|
:pin "80965f6c6afe8d918481433984b493de72af5399")
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! org-tree-slide :pin "97273dbb1718e9f63d338468e4c310167a846a67")
|
|
|
|
(package! org-re-reveal :pin "592985019905447d5f1fd6e24d14bfa9f4adf2f3")
|
2020-08-27 07:15:14 +02:00
|
|
|
(package! revealjs
|
|
|
|
:recipe (:host github :repo "hakimel/reveal.js"
|
|
|
|
:files ("css" "dist" "js" "plugin"))
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "12f5ba4c9d53c500ec20aea2cc8b8f66e725026a"))
|
2021-07-19 00:53:07 +03:00
|
|
|
(cond
|
2022-08-12 20:29:19 +02:00
|
|
|
((modulep! +roam)
|
2021-07-19 00:53:07 +03:00
|
|
|
(package! org-roam
|
|
|
|
:recipe (:host github :repo "org-roam/org-roam-v1")
|
|
|
|
:pin "946a879a4a18756a0508afba1e0b0fe070c6a8b4"))
|
2022-08-12 20:29:19 +02:00
|
|
|
((modulep! +roam2)
|
2021-09-14 15:14:17 +02:00
|
|
|
(package! org-roam
|
|
|
|
;; FIXME A :recipe isn't strictly necessary, but without it, our package
|
|
|
|
;; bumper fails to distinguish between org-roam v1 and v2.
|
|
|
|
:recipe (:host github :repo "org-roam/org-roam")
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "5c06471c3a11348342719fd9011486455adeb701")))
|
2018-10-10 22:00:30 +02:00
|
|
|
|
2019-06-28 16:53:26 +02:00
|
|
|
;;; Babel
|
2021-07-18 02:16:00 -04:00
|
|
|
(package! ob-async :pin "9aac486073f5c356ada20e716571be33a350a982")
|
2022-09-06 17:06:36 +01:00
|
|
|
(when (modulep! :lang clojure)
|
|
|
|
(package! ob-clojure-literate
|
|
|
|
:recipe (:type git
|
|
|
|
:host nil
|
|
|
|
:repo "https://repo.or.cz/ob-clojure-literate.el.git")
|
|
|
|
:pin "18c3ea15b872a43e67c899a9914182c35b00b7ee"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang crystal)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-crystal :pin "d84c1adee4b269cdba06a97caedb8071561a09af"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang elixir)
|
2021-04-29 17:42:35 -04:00
|
|
|
(package! ob-elixir :pin "8990a8178b2f7bd93504a9ab136622aab6e82e32"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang fsharp)
|
2022-04-06 13:28:02 +01:00
|
|
|
(package! ob-fsharp
|
|
|
|
:recipe (:host github :repo "elken/ob-fsharp")
|
2023-02-18 15:37:25 -05:00
|
|
|
:pin "a5bb40915a8b78fb3c5fc4b44ad00393e07e46a4"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang go)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-go :pin "2067ed55f4c1d33a43cb3f6948609d240a8915f5"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang graphql)
|
2022-03-31 08:28:43 +01:00
|
|
|
(package! ob-graphql :pin "7c35419f9eec5dc44967cbcfa13c7135b9a96bfc"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang hy)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-hy :pin "a42ecaf440adc03e279afe43ee5ef6093ddd542a"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang nim)
|
2021-07-18 02:16:00 -04:00
|
|
|
(package! ob-nim :pin "6fd060a3ecd38be37e4ec2261cd65760a3c35a91"))
|
2022-09-06 17:06:36 +01:00
|
|
|
(when (modulep! :lang php)
|
|
|
|
(package! ob-php
|
|
|
|
:recipe (:type git
|
|
|
|
:host nil
|
|
|
|
:repo "https://repo.or.cz/ob-php.git")
|
|
|
|
:pin "6ebf7799e9ded1d5114094f46785960a50000614"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang racket)
|
2020-01-14 22:32:11 -05:00
|
|
|
(package! ob-racket
|
|
|
|
:recipe (:host github :repo "DEADB17/ob-racket")
|
2020-04-30 02:02:21 -04:00
|
|
|
:pin "d8fd51bddb019b0eb68755255f88fc800cfe03cb"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang rest)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! ob-restclient :pin "ded3b7eb7b0592328a7a08ecce6f25278cba4a1d"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang scala)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-ammonite :pin "39937dff395e70aff76a4224fa49cf2ec6c57cca"))
|
2019-06-28 16:53:26 +02:00
|
|
|
|
2019-11-10 20:50:01 -05:00
|
|
|
;;; Export
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +pandoc)
|
2023-07-22 17:59:16 +02:00
|
|
|
(package! ox-pandoc :pin "0f758517f512e375825679541b5d905be40342eb"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! +hugo)
|
2019-10-25 20:29:00 -04:00
|
|
|
(package! ox-hugo
|
2020-01-14 22:32:11 -05:00
|
|
|
:recipe (:host github :repo "kaushalmodi/ox-hugo" :nonrecursive t)
|
2023-07-22 17:59:16 +02:00
|
|
|
:pin "cb1b6cfd7b080e889352150416c1725f11ba937a"))
|
2022-08-12 20:29:19 +02:00
|
|
|
(when (modulep! :lang rst)
|
2020-08-19 15:25:47 -04:00
|
|
|
(package! ox-rst :pin "99fa790da55b57a3f2e9aa187493ba434a64250e"))
|