doomemacs/modules/lang/org/packages.el

105 lines
4.8 KiB
EmacsLisp
Raw Normal View History

2017-12-08 22:59:42 -05:00
;; -*- no-byte-compile: t; -*-
;;; lang/org/packages.el
;; Prevent built-in Org from playing into the byte-compilation of
;; `org-plus-contrib'.
(when-let (orglib (locate-library "org" nil doom--initial-load-path))
(setq load-path (delete (substring (file-name-directory orglib) 0 -1)
load-path)))
;; HACK A necessary hack because org requires a compilation step after being
;; cloned, and during that compilation a org-version.el is generated with
;; these two functions, which return the output of a 'git describe ...'
;; call in the repo's root. Of course, this command won't work in a sparse
;; clone, and more than that, initiating these compilation step is a
;; hassle, so...
(add-hook! 'straight-use-package-pre-build-functions
(defun +org-fix-package-h (package &rest _)
2020-01-22 18:36:37 -05:00
(when (equal package "org-mode")
(with-temp-file (expand-file-name "org-version.el" (straight--repos-dir "org-mode"))
(insert "(fset 'org-release (lambda () \"9.4\"))\n"
"(fset 'org-git-version #'ignore)\n"
"(provide 'org-version)\n")))))
2020-01-22 18:36:37 -05:00
;; Install cutting-edge version of org-mode, and from a mirror, because
;; code.orgmode.org runs on a potato.
(package! org-mode
:recipe (:host github
:repo "emacs-straight/org-mode"
:files ("*.el" "lisp/*.el" "contrib/lisp/*.el")))
;; ...And prevent other packages from pulling org; org-plus-contrib satisfies
;; the dependency already: https://github.com/raxod502/straight.el/issues/352
2020-01-22 18:36:37 -05:00
(package! org :recipe (:local-repo nil))
2019-10-25 20:29:00 -04:00
2020-01-14 22:32:11 -05:00
(package! avy :pin "cf95ba9582121a1c2249e3c5efdc51acd566d190")
(package! htmlize :pin "86f22f211e9230857197c42a9823d3f05381deed")
(package! org-bullets
:recipe (:host github :repo "Kaligule/org-bullets")
:pin "8b4f0aab6d49b00faa779785b978fdb67e2eb066")
(package! org-yt
:recipe (:host github :repo "TobiasZawada/org-yt")
:pin "40cc1ac76d741055cbefa13860d9f070a7ade001")
(package! ox-clip :pin "bd36f9fb4e3b1b9e8686b993b02ccd780ff75a96")
(package! toc-org :pin "379b457fcff091d2fa47223ade58f457fd6eed28")
(package! org-cliplink :pin "82402cae7e118d67de7328417fd018a18f95fac2")
(package! org-bookmark-heading :pin "38a2813f72ff65f3ae91e2ebb23e0bbb42a8d1df")
2019-11-10 20:50:01 -05: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")
:pin "4d44e9bbdc3ae35d0050ca298886710f6531f434"))
(when (featurep! :tools pdf)
2020-01-14 22:32:11 -05:00
(package! org-pdfview :pin "8b71f313634b95a1fac42fc701934fd796565f3b"))
(when (featurep! :tools magit)
2020-01-14 22:32:11 -05:00
(package! orgit :pin "e7cddf39e301c87c36c7de13e429dee74874d5c8"))
2019-12-20 02:44:20 -05:00
(when (featurep! +brain)
2020-01-14 22:32:11 -05:00
(package! org-brain :pin "8cb2efc86026f0dcd19a63aef97044131682eba5"))
2019-11-10 20:50:01 -05:00
(when (featurep! +dragndrop)
2020-01-14 22:32:11 -05:00
(package! org-download :pin "a367669384859261bcb11bac4b782f231f972353"))
2019-11-10 20:50:01 -05:00
(when (featurep! +gnuplot)
2020-01-14 22:32:11 -05:00
(package! gnuplot :pin "a406143d52618638d908b6b0b1c1c90c045b83ee")
(package! gnuplot-mode :pin "601f6392986f0cba332c87678d31ae0d0a496ce7"))
2019-12-20 00:47:04 -05:00
(when (featurep! +ipython) ; DEPRECATED
2020-01-14 22:32:11 -05:00
(package! ob-ipython :pin "7147455230841744fb5b95dcbe03320313a77124"))
(when (featurep! +jupyter)
2020-01-14 22:32:11 -05:00
(package! jupyter :pin "9e3c1633586982e278f072dfaaabd115fa4d19f7"))
2019-11-10 20:50:01 -05:00
(when (featurep! +pomodoro)
2020-01-14 22:32:11 -05:00
(package! org-pomodoro :pin "aa07c11318f91219336197e62c47bc7a3d090479"))
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")
:pin "24f7c5be9def20879f46659082d497e67b55d7af")
(package! org-tree-slide :pin "7bf09a02bd2d8f1ccfcb5209bfb18fbe02d1f44e")
(package! org-re-reveal :pin "29bc467201220dbf5091fe2d32a2b237c744ff10"))
2019-11-10 20:50:01 -05:00
(when (featurep! +journal)
2020-01-14 22:32:11 -05:00
(package! org-journal :pin "cf0f15386fb52479f3b8f4f494feff71ba0052a4"))
;;; Babel
2020-01-14 22:32:11 -05:00
(package! ob-async :pin "80a30b96a007d419ece12c976a81804ede340311")
(when (featurep! :lang crystal)
2020-01-14 22:32:11 -05:00
(package! ob-crystal :pin "d84c1adee4b269cdba06a97caedb8071561a09af"))
(when (featurep! :lang go)
2020-01-14 22:32:11 -05:00
(package! ob-go :pin "2067ed55f4c1d33a43cb3f6948609d240a8915f5"))
(when (featurep! :lang nim)
2020-01-14 22:32:11 -05:00
(package! ob-nim :pin "bf1642cb93f0a898804dc13fd9408d2964403bd2"))
(when (featurep! :lang racket)
2020-01-14 22:32:11 -05:00
(package! ob-racket
:recipe (:host github :repo "DEADB17/ob-racket")
:pin "d8fd51bddb019b0eb68755255f88fc800cfe03cb"))
(when (featurep! :lang rest)
2020-01-14 22:32:11 -05:00
(package! ob-restclient :pin "c5c22e603531dca48575d0a425fddff16dc0f391"))
(when (featurep! :lang rust)
2020-01-14 22:32:11 -05:00
(package! ob-rust :pin "6a82587598cd097e9642be916243c31f1231b24a"))
2019-12-19 13:19:53 -05:00
(when (featurep! :lang scala)
2020-01-14 22:32:11 -05:00
(package! ob-ammonite :pin "39937dff395e70aff76a4224fa49cf2ec6c57cca"))
2019-11-10 20:50:01 -05:00
;;; Export
(when (featurep! +pandoc)
2020-01-14 22:32:11 -05:00
(package! ox-pandoc :pin "aa37dc7e94213d4ebedb85c384c1ba35007da18e"))
(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)
:pin "d2892b3b5ea19f85063f2fba4a5b7ffa1123a395"))
(when (featurep! :lang rst)
2020-01-14 22:32:11 -05:00
(package! ox-rst :pin "9158bfd18096c559e0a225ae62ab683f1c98a547"))