all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#61118] [PATCH] gnu: Add emacs-lingva.
@ 2023-01-28 12:17 Cayetano Santos via Guix-patches via
  2023-01-29 14:42 ` bug#61118: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Cayetano Santos via Guix-patches via @ 2023-01-28 12:17 UTC (permalink / raw)
  To: 61118; +Cc: Cayetano Santos

* gnu/packages/emacs-xyz.scm (emacs-lingva): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59a03f5db1..d43da2e32e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24367,6 +24367,32 @@ (define-public emacs-google-translate
 on-line service.")
     (license license:gpl3+)))
 
+(define-public emacs-lingva
+  (let ((version "0.2")
+        (revision "1")
+        (commit "6c33594068fa33de622172503deeec6778d9c744"))
+    (package
+      (name "emacs-lingva")
+      (version
+       (git-version version 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")

base-commit: 37fdb382dad47149d8f5be41af108478800e9d30
--
2.39.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#61118: [PATCH] gnu: Add emacs-lingva.
  2023-01-28 12:17 [bug#61118] [PATCH] gnu: Add emacs-lingva Cayetano Santos via Guix-patches via
@ 2023-01-29 14:42 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2023-01-29 14:42 UTC (permalink / raw)
  To: Cayetano Santos via Guix-patches via; +Cc: 61118-done, Cayetano Santos

Hello,

Cayetano Santos via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-lingva): New variable.

Thank you. I applied it with the minor changes below.

> +(define-public emacs-lingva
> +  (let ((version "0.2")
> +        (revision "1")
> +        (commit "6c33594068fa33de622172503deeec6778d9c744"))

We usually hard-code version in `git-version' call below, so I removed
the version binding here.

> +    (package
> +      (name "emacs-lingva")
> +      (version
> +       (git-version version 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.")

I filled the description to make it fit under 80 characters.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-29 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28 12:17 [bug#61118] [PATCH] gnu: Add emacs-lingva Cayetano Santos via Guix-patches via
2023-01-29 14:42 ` bug#61118: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.