From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56691) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i68Nf-0001Eu-Fz for guix-patches@gnu.org; Fri, 06 Sep 2019 03:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i68Ne-0007nF-BZ for guix-patches@gnu.org; Fri, 06 Sep 2019 03:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i68Ne-0007n9-8O for guix-patches@gnu.org; Fri, 06 Sep 2019 03:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i68Ne-00046L-0v for guix-patches@gnu.org; Fri, 06 Sep 2019 03:10:02 -0400 Subject: [bug#37317] [PATCH] Add emacs-flyspell-grammalecte Resent-Message-ID: From: Nicolas Goaziou References: <87mufipcda.fsf@nicolasgoaziou.fr> Date: Fri, 06 Sep 2019 09:09:55 +0200 In-Reply-To: <87mufipcda.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 06 Sep 2019 01:11:29 +0200") Message-ID: <87imq5q4sc.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37317@debbugs.gnu.org Completing myself, Nicolas Goaziou 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.