summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2023-01-28 13:17:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-01-29 15:40:15 +0100
commit46a93fef85a41ba5616048776aa145ba40f9f5a9 (patch)
tree7db3ed9e521a7a8c9f4d6c643794c366703ca20a /gnu
parent026e50a4fc12dd16e8e80ba68d3726a17e5fc0c6 (diff)
downloadguix-46a93fef85a41ba5616048776aa145ba40f9f5a9.tar.gz
gnu: Add emacs-lingva.
* gnu/packages/emacs-xyz.scm (emacs-lingva): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 24156527a3..798e7e66f9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24436,6 +24436,32 @@ the GIF result.")
 on-line service.")
     (license license:gpl3+)))
 
+(define-public emacs-lingva
+  (let ((commit "6c33594068fa33de622172503deeec6778d9c744")
+        (revision "1"))
+    (package
+      (name "emacs-lingva")
+      (version
+       (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://codeberg.org/martianh/lingva.el")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0r2f4wrd2v67m7198z0194pg853hbq4vvpd3x96y5ikbypywf426"))))
+      (build-system emacs-build-system)
+      (home-page "https://codeberg.org/martianh/lingva.el")
+      (synopsis "Interact with the lingva.ml API from within Emacs")
+      (description "This is a basic interface to the lingva.ml API, which
+allows you to obtain translations of texts from Google Translate without any
+tracking.")
+      (license license:gpl3+))))
+
 (define-public emacs-helm-company
   (package
     (name "emacs-helm-company")