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
|
|
|
|
;; REVIEW I intentionally avoid git.savannah.gnu.org because of SSL
|
|
|
|
;; 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
|
2021-10-05 14:03:51 +02:00
|
|
|
;; HACK Org requires a post-install compilation step to generate a
|
2021-10-29 14:24:01 +02:00
|
|
|
;; org-version.el with org-release and org-git-version functions,
|
|
|
|
;; using a 'git describe ...' call. This won't work in a sparse
|
|
|
|
;; clone and I value smaller network burdens on users over
|
|
|
|
;; non-essential variables so we fake it:
|
2021-07-18 02:16:00 -04:00
|
|
|
:build t
|
2021-01-08 23:56:27 -05:00
|
|
|
:pre-build
|
2021-07-18 02:16:00 -04:00
|
|
|
(with-temp-file "org-version.el"
|
2021-11-01 02:12:24 +01:00
|
|
|
(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)
|
2021-11-01 02:17:34 +01:00
|
|
|
(format "(defun org-git-version (&rest _) \"%s-??-%s\")\n"
|
2021-11-01 02:12:24 +01:00
|
|
|
version (cdr (doom-call-process "git" "rev-parse" "--short" "HEAD")))
|
|
|
|
"(provide 'org-version)\n"))))
|
2022-03-30 17:49:15 +02:00
|
|
|
:pin "971eb6885ec996c923e955730df3bafbdc244e54")
|
2021-11-04 00:54:48 +01:00
|
|
|
(package! org-contrib
|
|
|
|
:recipe (:host github
|
|
|
|
:repo "emacsmirror/org-contrib")
|
2022-03-30 17:49:15 +02:00
|
|
|
:pin "17f3c514356430448627104e015f155008b45575")
|
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")
|
2020-04-30 02:02:21 -04:00
|
|
|
:pin "40cc1ac76d741055cbefa13860d9f070a7ade001")
|
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
|
|
|
|
2019-10-23 17:40:57 -04:00
|
|
|
(when (featurep! :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"))
|
2018-10-10 22:00:30 +02:00
|
|
|
(when (featurep! :tools pdf)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! org-pdftools :pin "967f48fb5038bba32915ee9da8dc4e8b10ba3376"))
|
2019-07-28 16:29:53 +03:00
|
|
|
(when (featurep! :tools magit)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! orgit :pin "42b7f682b3e4e487ff209a44221a729921241133")
|
2021-05-26 12:09:29 -04:00
|
|
|
(when (featurep! :tools magit +forge)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! orgit-forge :pin "36e57a0359992e02312f453b8086512e77beb150")))
|
2019-12-20 02:44:20 -05:00
|
|
|
(when (featurep! +brain)
|
2021-07-18 02:16:00 -04:00
|
|
|
(package! org-brain :pin "46ca9f766322cff31279ecdf02251ff24a0e9431"))
|
2019-11-10 20:50:01 -05:00
|
|
|
(when (featurep! +dragndrop)
|
2021-02-23 19:58:27 -05:00
|
|
|
(package! org-download :pin "947ca223643d28e189480e607df68449c15786cb"))
|
2019-11-10 20:50:01 -05:00
|
|
|
(when (featurep! +gnuplot)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! gnuplot :pin "57be3c7addec31e226a5a27aa553e996f9c684e3")
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! gnuplot-mode :pin "601f6392986f0cba332c87678d31ae0d0a496ce7"))
|
2019-12-20 00:47:04 -05:00
|
|
|
(when (featurep! +ipython) ; DEPRECATED
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-ipython :pin "7147455230841744fb5b95dcbe03320313a77124"))
|
2019-12-16 19:23:08 -05:00
|
|
|
(when (featurep! +jupyter)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! jupyter :pin "0a7055d7b12cf98723110415b08ee91869fa7d94"))
|
2020-03-29 19:15:58 -04:00
|
|
|
(when (featurep! +journal)
|
2022-02-02 01:56:17 +01:00
|
|
|
(package! org-journal :pin "f121450610650c63aabf13afd0d2089e05fad2e4"))
|
2020-04-25 16:10:02 -04:00
|
|
|
(when (featurep! +noter)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! org-noter :pin "9ead81d42dd4dd5074782d239b2efddf9b8b7b3d"))
|
2019-11-10 20:50:01 -05:00
|
|
|
(when (featurep! +pomodoro)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! org-pomodoro :pin "3f5bcfb80d61556d35fc29e5ddb09750df962cc6"))
|
2020-08-05 18:30:17 -04:00
|
|
|
(when (featurep! +pretty)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! org-appear :pin "ffbd742267ff81ba8433177fac5d7fe22b6d68a9")
|
2021-10-05 14:03:51 +02:00
|
|
|
(package! org-superstar :pin "03be6c0a3081c46a59b108deb8479ee24a6d86c0")
|
2022-02-01 17:12:36 +01:00
|
|
|
(package! org-fancy-priorities :pin "7f677c6c14ecf05eab8e0efbfe7f1b00ae68eb1d"))
|
2019-11-10 20:50:01 -05:00
|
|
|
(when (featurep! +present)
|
|
|
|
(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")
|
|
|
|
(package! org-tree-slide :pin "3faa042393ebfe5699a3bffce775f039d7416ceb")
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! org-re-reveal :pin "e5bae22b9ef63a9fcfbbaa000e087703751eaad0")
|
2020-08-27 07:15:14 +02:00
|
|
|
(package! revealjs
|
|
|
|
:recipe (:host github :repo "hakimel/reveal.js"
|
|
|
|
:files ("css" "dist" "js" "plugin"))
|
2022-03-31 21:01:55 +02:00
|
|
|
:pin "e281b3234e7991283ce4dcca705dd9a6a9ebe5d2"))
|
2021-07-19 00:53:07 +03:00
|
|
|
(cond
|
|
|
|
((featurep! +roam)
|
|
|
|
(package! org-roam
|
|
|
|
:recipe (:host github :repo "org-roam/org-roam-v1")
|
|
|
|
:pin "946a879a4a18756a0508afba1e0b0fe070c6a8b4"))
|
|
|
|
((featurep! +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")
|
2022-03-30 17:49:15 +02:00
|
|
|
:pin "36152590ad1e8ffea86cb909e5ef818cbdb2a22d")))
|
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")
|
2019-06-28 16:53:26 +02:00
|
|
|
(when (featurep! :lang crystal)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-crystal :pin "d84c1adee4b269cdba06a97caedb8071561a09af"))
|
2021-04-29 17:42:35 -04:00
|
|
|
(when (featurep! :lang elixir)
|
|
|
|
(package! ob-elixir :pin "8990a8178b2f7bd93504a9ab136622aab6e82e32"))
|
2019-06-28 16:53:26 +02:00
|
|
|
(when (featurep! :lang go)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-go :pin "2067ed55f4c1d33a43cb3f6948609d240a8915f5"))
|
2022-03-31 08:28:43 +01:00
|
|
|
(when (featurep! :lang graphql)
|
|
|
|
(package! ob-graphql :pin "7c35419f9eec5dc44967cbcfa13c7135b9a96bfc"))
|
2020-03-10 01:46:59 -04:00
|
|
|
(when (featurep! :lang hy)
|
2020-04-30 02:02:21 -04:00
|
|
|
(package! ob-hy :pin "a42ecaf440adc03e279afe43ee5ef6093ddd542a"))
|
2019-06-28 16:53:26 +02:00
|
|
|
(when (featurep! :lang nim)
|
2021-07-18 02:16:00 -04:00
|
|
|
(package! ob-nim :pin "6fd060a3ecd38be37e4ec2261cd65760a3c35a91"))
|
2019-06-28 16:53:26 +02:00
|
|
|
(when (featurep! :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"))
|
2019-06-28 16:53:26 +02:00
|
|
|
(when (featurep! :lang rest)
|
2022-03-30 17:49:15 +02:00
|
|
|
(package! ob-restclient :pin "586f1fa07f76aaca13cb3f86945759f4b9fb8db7"))
|
2019-12-19 13:19:53 -05:00
|
|
|
(when (featurep! :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
|
2019-06-28 16:53:26 +02:00
|
|
|
(when (featurep! +pandoc)
|
2022-02-02 01:56:17 +01:00
|
|
|
(package! ox-pandoc :pin "b2e43b936249de2a100afb4262698105c39ce289"))
|
2019-08-29 14:56:31 +02:00
|
|
|
(when (featurep! +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)
|
2022-03-30 17:49:15 +02:00
|
|
|
:pin "65e349b306b7fa27285f4c663e44bb36f6c8e653"))
|
2019-11-08 12:54:10 +09:00
|
|
|
(when (featurep! :lang rst)
|
2020-08-19 15:25:47 -04:00
|
|
|
(package! ox-rst :pin "99fa790da55b57a3f2e9aa187493ba434a64250e"))
|