[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37317] [PATCH] Add emacs-flyspell-grammalecte
From: |
Nicolas Goaziou |
Subject: |
[bug#37317] [PATCH] Add emacs-flyspell-grammalecte |
Date: |
Fri, 06 Sep 2019 09:09:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Completing myself,
Nicolas Goaziou <address@hidden> 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.