unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fennel and Luarocks
@ 2019-06-18  1:35 Marlin
  2019-06-18 16:28 ` Dan Frumin
  0 siblings, 1 reply; 3+ messages in thread
From: Marlin @ 2019-06-18  1:35 UTC (permalink / raw)
  To: guix-devel

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 channel.
https://framagit.org/marlin1113/marlin-guix-packages

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fennel and Luarocks
  2019-06-18  1:35 Fennel and Luarocks Marlin
@ 2019-06-18 16:28 ` Dan Frumin
  2019-06-19  6:45   ` P
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Frumin @ 2019-06-18 16:28 UTC (permalink / raw)
  To: Marlin, guix-devel

Hi Marlin!

I am not really familiar with the Lua ecosystem, but wouldn't it be desirable 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 an "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 channel.
> https://framagit.org/marlin1113/marlin-guix-packages
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fennel and Luarocks
  2019-06-18 16:28 ` Dan Frumin
@ 2019-06-19  6:45   ` P
  0 siblings, 0 replies; 3+ messages in thread
From: P @ 2019-06-19  6:45 UTC (permalink / raw)
  To: Dan Frumin; +Cc: Marlin, guix-devel@gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, June 18, 2019 6:28 PM, Dan Frumin <dfrumin@cs.ru.nl> wrote:

> Hi Marlin!
>
> I am not really familiar with the Lua ecosystem, but wouldn't it be desirable 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 an "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 channel.
> > https://framagit.org/marlin1113/marlin-guix-packages

It should definitely be possible, especially for pure Lua packages. What would 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 compatible with all three major versions (5.1/luajit,5.2,5.3) it would be desirable to be able to only install them once.

It would make testing packages with multiple Lua versions much easier and could also cut down on disk usage.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-19  6:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18  1:35 Fennel and Luarocks Marlin
2019-06-18 16:28 ` Dan Frumin
2019-06-19  6:45   ` P

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).