diff options
author | pinoaffe <pinoaffe@gmail.com> | 2023-07-25 23:06:07 +0200 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2023-10-20 18:11:42 +0200 |
commit | a4f4d71db56a6d4d150854649f429fc2d49c2a74 (patch) | |
tree | 2ff8ba9ed49a8cc6d6c1c70af11a28e53e55efaa | |
parent | 4ab5368bdecba18eda63fb060b1ce17968d645da (diff) |
gnu: Add emacs-lexic.
* gnu/packages/emacs-xyz.scm (emacs-lexic): New variable.
Signed-off-by: Clément Lassieur <clement@lassieur.org>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7e858ac874..94d3f69299 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -37038,6 +37038,40 @@ dict.org) from within Emacs.") to the @url{https://multitran.com} online dictionary.") (license license:gpl3+))) +(define-public emacs-lexic + (let ((commit "f9b3de4d9c2dd1ce5022383e1a504b87bf7d1b09") + (revision "0")) + (package + (name "emacs-lexic") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.tecosaur.net/tec/lexic") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02iz8dh18gb1q97v8ghcd3lavkf28sqbrk0bx6jzzryp69ickk4h")))) + (build-system emacs-build-system) + (inputs (list sdcv)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-sdcv-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (emacs-substitute-variables "lexic.el" + ("lexic-program-path" + (string-append (assoc-ref inputs "sdcv") + "/bin/sdcv")))))))) + (home-page "https://git.tecosaur.net/tec/lexic") + (synopsis "Find out more about words using Stardict dictionaries") + (description "This provides a major mode to view the output of +dictionary tools, and utilities that perform searches and nicely format the +results. Currently tied to sdcv, but this is intended to be changed in the +future.") + (license license:gpl3+)))) + (define-public emacs-blacken (package (name "emacs-blacken") |