doomemacs/modules/tools/lookup/packages.el
Henrik Lissner f0b58fc452
fix(lookup): powerthesaurus eager-loading transient, hydra, lv
SavchenkoValeriy/emacs-powerthesaurus@782df1d92f causes hydra and
transient (and their dependencies) to be eagerly loaded very, very early
during startup. This causes load errors for some, terrible startup time
for others. This swaps the module to a fork with a fix.

Amend: 8b892f5299
Ref: SavchenkoValeriy/emacs-powerthesaurus@782df1d92f
Ref: SavchenkoValeriy/emacs-powerthesaurus#40
Ref: #7204
2023-07-24 02:58:35 +02:00

38 lines
1.6 KiB
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; tools/lookup/packages.el
;; HACK `dumb-jump' uses the `helm-build-sync-source' macro, but this requires
;; helm be loaded before `dumb-jump' is byte-compiled during installation.
;; To ensure this, we declare helm before dumb-jump.
(when (modulep! :completion helm)
(package! helm))
;;
(package! dumb-jump :pin "d9503c157ab88f0ed2fa1301aeb57e95ac564760")
(when (modulep! :completion ivy)
(package! ivy-xref :pin "a82e8e117d2dd62c28b6a3e3d6e4cfb11c0bda38"))
(when (modulep! :completion helm)
(package! helm-xref :pin "ea0e4ed8a9baf236e4085cbc7178241f109a53fa"))
;; For dictionary and online lookup
(package! request :pin "01e338c335c07e4407239619e57361944a82cb8a")
(when (modulep! +docsets)
(package! dash-docs :pin "29848b6b347ac520f7646c200ed2ec36cea3feda")
(when (modulep! :completion helm)
(package! helm-dash :pin "7f853bd34da666f0e9a883011c80f451b06f6c59"))
(when (modulep! :completion ivy)
(package! counsel-dash :pin "8decb980f111ebe7027361ee252279a9076da261")))
(when (modulep! +dictionary)
(if IS-MAC
(package! osx-dictionary :pin "0715e5a3ac659df32a0f0fabfbbeef0228fbd9a9")
(package! define-word :pin "31a8c67405afa99d0e25e7c86a4ee7ef84a808fe")
;; REVIEW: This fork fixes SavchenkoValeriy/emacs-powerthesaurus#40.
(package! powerthesaurus
:recipe (:host github
:repo "doomelpa/powerthesaurus")
:pin "d9ebb866f6fce469102665f187266f0a041cfc4b")
(when (modulep! +offline)
(package! wordnut :pin "feac531404041855312c1a046bde7ea18c674915")
(package! synosaurus :pin "14d34fc92a77c3a916b4d58400424c44ae99cd81"))))