GNU bug report logs - #61118
[PATCH] gnu: Add emacs-lingva.

Previous Next

Package: guix-patches;

Reported by: Cayetano Santos <csantosb <at> inventati.org>

Date: Sat, 28 Jan 2023 12:19:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Cayetano Santos via Guix-patches via <guix-patches <at> gnu.org>
Cc: 61118-done <at> debbugs.gnu.org, Cayetano Santos <csantosb <at> inventati.org>
Subject: Re: [bug#61118] [PATCH] gnu: Add emacs-lingva.
Date: Sun, 29 Jan 2023 15:42:39 +0100
Hello,

Cayetano Santos via Guix-patches via <guix-patches <at> 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




This bug report was last modified 2 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.