Subject: Re: [bug#37317] [PATCH] Add emacs-flyspell-grammalecte

From: Nicolas Goaziou <[email-masked]>
Date: Fri, 06 Sep 2019 09:09:55 +0200

Completing myself,

Nicolas Goaziou <[email-masked]> writes:

> +         (add-after 'install 'link-to-grammalecte
> +           ;; The package expects grammalecte to be in a sub-directory.
> +           ;; Symlink it there from the store.
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((grammalecte (assoc-ref inputs "grammalecte"))
> +                   (out (assoc-ref outputs "out"))
> +                   (version ,(version-major+minor (package-version python))))
> +               (with-directory-excursion
> +                   (string-append out
> +                                  "/share/emacs/site-lisp/guix.d/"
> +                                  "flycheck-grammalecte-" ,version)
> +                 (symlink (string-append grammalecte "/lib/"
> +                                         "python" version "/site-packages/"
> +                                         "grammalecte")
> +                          "grammalecte"))))))))

I forgot a #t here. I'll add it. I'm not sending the updated patch.

> +    (inputs
> +     `(("grammalecte" ,grammalecte)
> +       ("python" ,python)))
> +    (propagated-inputs
> +     `(("emacs-flycheck" ,emacs-flycheck)))
> +    (home-page "https://git.deparis.io/flycheck-grammalecte/")
> +    (synopsis "Integrate Grammalecte with Flycheck")
> +    (description "Integrate the French grammar and typography checker
> +Grammalecte with Flycheck to automatically look for mistakes in your
> +writings. It also provides an easy way to find synonyms and antonyms for

Missing space here. Also fixed.