doomemacs/modules/tools/lookup/packages.el
Henrik Lissner 659f7bfc71
refactor!: deprecate IS-* OS constants
BREAKING CHANGE: This deprecates the IS-(MAC|WINDOWS|LINUX|BSD) family
of global constants in favor of a native `featurep` check:

  IS-MAC      ->  (featurep :system 'macos)
  IS-WINDOWS  ->  (featurep :system 'windows)
  IS-LINUX    ->  (featurep :system 'linux)
  IS-BSD      ->  (featurep :system 'bsd)

The constants will stick around until the v3 release so folks can still
use it -- and there are still some modules that use it, but I'll phase
those uses out gradually.

Fix: #7479
2024-02-04 17:54:29 -05: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 (featurep :system 'macos)
(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"))))