;; -*- no-byte-compile: t; -*- ;;; lang/org/packages.el ;; 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") ;; 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... :pre-build (with-temp-file (doom-path (straight--repos-dir "org-mode") "org-version.el") (insert "(fset 'org-release (lambda () \"9.5\"))\n" "(fset 'org-git-version #'ignore)\n" "(provide 'org-version)\n"))) :pin "9e98e9a731daf7bc11985edae29d01203027dcd0" ;; Prevents built-in Org from sneaking into the byte-compilation of ;; `org-plus-contrib', and inform other packages that `org-mode' satisfies the ;; `org' dependency: https://github.com/raxod502/straight.el/issues/352 :shadow 'org) (package! avy) (package! htmlize :pin "49205105898ba8993b5253beec55d8bddd820a70") (package! org-yt :recipe (:host github :repo "TobiasZawada/org-yt") :pin "40cc1ac76d741055cbefa13860d9f070a7ade001") (package! ox-clip :pin "38b83ac6a70e9f1bc5cefb79a3b4e5397d11e467") (package! toc-org :pin "aef220c266f53d36055f74f4a243c6483c563d2a") (package! org-cliplink :pin "13e0940b65d22bec34e2de4bc8cba1412a7abfbc") (when (featurep! :editor evil +everywhere) (package! evil-org :recipe (:host github :repo "hlissner/evil-org-mode") :pin "a9706da260c45b98601bcd72b1d2c0a24a017700")) (when (featurep! :tools pdf) (package! org-pdftools :pin "a5b61bca3f8c91b0859bb0df1a929f9a31a57b99")) (when (featurep! :tools magit) (package! orgit :pin "ac9b1a42863a864fde9d225890ef5464bffdc646")) (when (featurep! +brain) (package! org-brain :pin "e9b9b3e5bb3c63cecb1367df49205c346d9c050a")) (when (featurep! +dragndrop) (package! org-download :pin "947ca223643d28e189480e607df68449c15786cb")) (when (featurep! +gnuplot) (package! gnuplot :pin "116cad8e09024223f97e81b0a4503cef20de9bf5") (package! gnuplot-mode :pin "601f6392986f0cba332c87678d31ae0d0a496ce7")) (when (featurep! +ipython) ; DEPRECATED (package! ob-ipython :pin "7147455230841744fb5b95dcbe03320313a77124")) (when (featurep! +jupyter) (package! jupyter :pin "6ce8d01e3a550a3268b415bf9d9b635d4dba5940")) (when (featurep! +journal) (package! org-journal :pin "f4b15499135d43e98244dda4606a5b97462b3f39")) (when (featurep! +noter) (package! org-noter :pin "9ead81d42dd4dd5074782d239b2efddf9b8b7b3d")) (when (featurep! +pomodoro) (package! org-pomodoro :pin "aa07c11318f91219336197e62c47bc7a3d090479")) (when (featurep! +pretty) (package! org-superstar :pin "9d64c42e5029910153ec74cb9b5747b074281140") (package! org-fancy-priorities :pin "819bb993b71e7253cefef7047306ab4e0f9d0a86")) (when (featurep! +present) (package! centered-window :recipe (:host github :repo "anler/centered-window-mode") :pin "f50859941ab5c7cbeaee410f2d38716252b552ac") (package! org-tree-slide :pin "04b5a9dee1be7ecba8ada31685c3e11c668d10e6") (package! org-re-reveal :pin "18a2456befcfda5f681b2b4041f3262f93e52cba") (package! revealjs :recipe (:host github :repo "hakimel/reveal.js" :files ("css" "dist" "js" "plugin")) :pin "0582f57517c97a4c7bfeb58762138c78883f94c5")) (when (featurep! +roam) (package! org-roam :pin "b0fd12647b94ba6e3cf82a2a5b1ee7655ac07760")) ;;; Babel (package! ob-async :pin "de1cd6c93242a4cb8773bbe115b7be3d4dd6b97e") (when (featurep! :lang crystal) (package! ob-crystal :pin "d84c1adee4b269cdba06a97caedb8071561a09af")) (when (featurep! :lang go) (package! ob-go :pin "2067ed55f4c1d33a43cb3f6948609d240a8915f5")) (when (featurep! :lang hy) (package! ob-hy :pin "a42ecaf440adc03e279afe43ee5ef6093ddd542a")) (when (featurep! :lang nim) (package! ob-nim :pin "bf1642cb93f0a898804dc13fd9408d2964403bd2")) (when (featurep! :lang racket) (package! ob-racket :recipe (:host github :repo "DEADB17/ob-racket") :pin "d8fd51bddb019b0eb68755255f88fc800cfe03cb")) (when (featurep! :lang rest) (package! ob-restclient :pin "0ebfc7c5ebf96d2fe1a476439831363a5a43b9b6")) (when (featurep! :lang scala) (package! ob-ammonite :pin "39937dff395e70aff76a4224fa49cf2ec6c57cca")) ;;; Export (when (featurep! +pandoc) (package! ox-pandoc :pin "aa37dc7e94213d4ebedb85c384c1ba35007da18e")) (when (featurep! +hugo) (package! ox-hugo :recipe (:host github :repo "kaushalmodi/ox-hugo" :nonrecursive t) :pin "04f41ca1ef280e4fef67f5a91eb28f66d770f55d")) (when (featurep! :lang rst) (package! ox-rst :pin "99fa790da55b57a3f2e9aa187493ba434a64250e"))