summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorqblade <qblade@protonmail.com>2021-04-01 16:06:24 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-04-01 16:06:24 +0200
commitf3044da6fcaa3ff847eabc43dba817905ca79890 (patch)
tree4976e139a9d8bdb7437f7589a5634e68e3aad9ab /gnu/packages
parentae40c478b53e91679b5ed87bd6840ef79c31b377 (diff)
downloadguix-f3044da6fcaa3ff847eabc43dba817905ca79890.tar.gz
gnu: Add emacs-sdcv.
* gnu/packages/emacs-xyz.scm (emacs-sdcv): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1147ad5f00..d6ca0c6d52 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25620,6 +25620,34 @@ can specify how popup-displaying functions occupy the screen.")
        "This library provide one function to show tooltip near the cursor.")
       (license license:gpl2+))))
 
+(define-public emacs-sdcv
+  ;; No tagged version upstream.
+  (let ((commit "943ae3e90cc9a0a88a37cc710acd7424fd4defc4" )
+        (revision "0"))
+    (package
+      (name "emacs-sdcv")
+      (version (git-version "1.5.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/stardiviner/sdcv.el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0i1ylvw7p46pkf3yyyzcdmdhsspzymnnnvx8s0i7vynngr5x0vzh"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-popup" ,emacs-popup)
+         ("emacs-pos-tip" ,emacs-pos-tip)
+         ("emacs-showtip" ,emacs-showtip)))
+      (home-page "https://www.emacswiki.org/emacs/download/sdcv.el")
+      (synopsis "Emacs interface for @code{sdcv}")
+      (description
+       "This plugin translates words with @code{sdcv}, and displays
+translation using a tooltip or in a dedicated buffer.")
+      (license license:gpl3+))))
+
 (define-public emacs-helm-lacarte
   (let ((commit "40a6c449720be521435b6b1da7911af3a0b9dca0")
         (revision "1"))