From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60688) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWzzU-0002Th-V6 for guix-patches@gnu.org; Tue, 19 Nov 2019 04:40:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWzzO-000812-Re for guix-patches@gnu.org; Tue, 19 Nov 2019 04:40:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWzzO-00080l-8q for guix-patches@gnu.org; Tue, 19 Nov 2019 04:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWzzN-0005SJ-RK for guix-patches@gnu.org; Tue, 19 Nov 2019 04:40:02 -0500 Subject: [bug#37411] [PATCH] gnu: Add fennel. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87y2yppixa.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> <874l13ztat.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> <87v9t8jhcp.fsf@gnu.org> Date: Tue, 19 Nov 2019 10:39:28 +0100 In-Reply-To: <87v9t8jhcp.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 01 Oct 2019 23:17:26 +0200") Message-ID: <87ftikryr3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Alex ter Weele Cc: 37411@debbugs.gnu.org Hi Alex, Did you have a chance to look into it? (See .) Thanks in advance, Ludo=E2=80=99. Ludovic Court=C3=A8s skribis: > Hi Alex, > > Alex ter Weele skribis: > >>>>>From 5156cfff4e0e9c8b7223213ab28c891c97641e6c Mon Sep 17 00:00:00 2001 >> From: Alex ter Weele >> Date: Sat, 7 Sep 2019 16:18:38 -0500 >> Subject: [PATCH] gnu: Add fennel. >> >> * gnu/packages/fennel.scm: New file. >> * gnu/local.mk (GNU_SYSTEM_MODULES): Add fennel.scm. > > Some comments to complement what =E5=AE=8B=E6=96=87=E6=AD=A6 wrote earlie= r. > >> +++ b/gnu/packages/fennel.scm >> @@ -0,0 +1,63 @@ >> +;;; GNU Guix --- Functional package management for GNU >> +;;; Copyright =C2=A9 2019 Alex ter Weele >> + > > Please add a complete header as in the other files. > >> + (replace 'install >> + (lambda _ >> + (let* ((out (assoc-ref %outputs "out")) >> + (data (string-append out "/share/")) >> + (bin (string-append out "/bin/"))) >> + (copy-recursively (assoc-ref %build-inputs "source") dat= a) >> + (install-file "fennel" bin) >> + (wrap-program (string-append bin "fennel") >> + `("LUA_PATH" ";" prefix (,(string-append data "?.lua")= )) >> + `("FENNEL_PATH" ";" prefix (,(string-append data "?.fn= l")))))))))) > > Could you add #t at the end of the phase? > >> + (home-page "https://fennel-lang.org/") >> + (synopsis "Lua lisp language") > > Maybe =E2=80=9CLisp-like programming language embedded in Lua=E2=80=9D? > >> + (description "Fennel is a programming language that brings together= the >> +speed, simplicity, and reach of Lua with the flexibility of a lisp synt= ax and >> +macro system. >> + >> + * Full Lua compatibility: Easily call any Lua function or library f= rom >> +Fennel and vice-versa. >> + >> + * Zero overhead: Compiled code should be just as or more efficient = than >> +hand-written Lua. >> + >> + * Compile-time macros: Ship compiled code with no runtime dependenc= y on >> +Fennel. >> + >> + * Embeddable: Fennel is a one-file library as well as an executable. >> +Embed it in other programs to support runtime extensibility and interac= tive >> +development. >> + >> +Anywhere you can run Lua code, you can run Fennel code.") > > Please use @itemize and @item for the bullet list. > > Could you send an updated patch? > > Thanks! > > Ludo=E2=80=99.