unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Cayetano Santos via Guix-patches via <guix-patches@gnu.org>
Cc: 61118-done@debbugs.gnu.org, Cayetano Santos <csantosb@inventati.org>
Subject: bug#61118: [PATCH] gnu: Add emacs-lingva.
Date: Sun, 29 Jan 2023 15:42:39 +0100	[thread overview]
Message-ID: <87zga1ieqo.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <1b56753a51b8956e016344b68ed8d15cf82b2b71.1674908263.git.csantosb@inventati.org> (Cayetano Santos via Guix-patches via's message of "Sat, 28 Jan 2023 13:17:51 +0100")

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




      reply	other threads:[~2023-01-29 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zga1ieqo.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=61118-done@debbugs.gnu.org \
    --cc=csantosb@inventati.org \
    --cc=guix-patches@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).