From mboxrd@z Thu Jan 1 00:00:00 1970 From: P Subject: Re: Fennel and Luarocks Date: Wed, 19 Jun 2019 06:45:39 +0000 Message-ID: <_hZANE_-VxZgHBmk33cJwwfsOzQX4TFSE2Kn2s75HcO4bZpLx9u777VdLECxbcmN8XgNZ0PozVkTD1UCOT6TYdr3B549a2k6frHKEtU0KEI=@protonmail.com> References: <87fto7ptf9.fsf@firemail.cc> Reply-To: P Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52425) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdUM5-00008I-9Y for guix-devel@gnu.org; Wed, 19 Jun 2019 02:46:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdUM4-0003os-1e for guix-devel@gnu.org; Wed, 19 Jun 2019 02:46:01 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:22629) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdUM3-0003kn-FX for guix-devel@gnu.org; Wed, 19 Jun 2019 02:45:59 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Dan Frumin Cc: Marlin , "guix-devel@gnu.org" =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, June 18, 2019 6:28 PM, Dan Frumin wrote: > Hi Marlin! > > I am not really familiar with the Lua ecosystem, but wouldn't it be desir= able to use Guix to manage Lua package, the way it's done for e.g. Haskell > right now? > > I don't fully understand how luarocks works, but is it possible to have a= n "importer" for luarocks packages, similar to e.g. the hackage importer? > > Best, > -Dan > > On 18-06-19 03:35, Marlin wrote: > > > I'm trying to port over fennel and luarocks to guix. > > Fennel is a lisp language which compiles to lua, and luarocks is a > > Pypi-like package manager for lua libraries > > I believe a luarocks build system would be needed. > > The packges are luarocks.scm and fennel.scm, located at my personal cha= nnel. > > https://framagit.org/marlin1113/marlin-guix-packages It should definitely be possible, especially for pure Lua packages. What wo= uld be even cooler is if we could share packages between Lua versions. luarocks can't do that on its own, but since most pure Lua modules are comp= atible with all three major versions (5.1/luajit,5.2,5.3) it would be desir= able to be able to only install them once. It would make testing packages with multiple Lua versions much easier and c= ould also cut down on disk usage.