all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vinícius dos Santos Oliveira" <vini.ipsmaker@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 46231@debbugs.gnu.org
Subject: [bug#46231] Add emilua
Date: Tue, 23 Feb 2021 17:35:07 -0300	[thread overview]
Message-ID: <CAK9Rve+mtdU3=Qmxku_ny2M2Q22oe8AzzD_M-KO3+Z5L_423qg@mail.gmail.com> (raw)
In-Reply-To: <875z2kwh8l.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Em seg., 22 de fev. de 2021 às 07:04, Nicolas Goaziou
<mail@nicolasgoaziou.fr> escreveu:
> The trend in other distributions is to use luajit-openresty, in this
> order. So maybe luajit-lua52-openresty? Or luajit-openresty if that is
> unambiguous. It is not a big issue anyway.

luajit-openresty might be ambiguous as not every package might depend
on the lua52 configure flag, so I renamed it to
luajit-lua52-openresty.

> Could you send this to this ML using git format-patch?

You may find the patch with the requested fixes attached to this
email. I'll implement the changes to the other package once we have
luajit-lua52-openresty in place.

Thanks for acting as the reviewer of this patch.


-- 
Vinícius dos Santos Oliveira
https://vinipsmaker.github.io/

[-- Attachment #2: 0001-Add-luajit-lua52-openresty.patch --]
[-- Type: text/x-patch, Size: 1877 bytes --]

From c5d11f986595637ae72d551acf0bf2cd15390a39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vin=C3=ADcius=20dos=20Santos=20Oliveira?=
 <vini.ipsmaker@gmail.com>
Date: Tue, 23 Feb 2021 17:25:07 -0300
Subject: [PATCH] Add luajit-lua52-openresty

---
 gnu/packages/lua.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index b029400cb2..8fbcc0b317 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -157,6 +157,35 @@ language.  It may be embedded or used as a general-purpose, stand-alone
 language.")
     (license license:x11)))
 
+(define-public luajit-lua52-openresty
+  (package
+   (inherit luajit)
+   (name "luajit-lua52-openresty")
+   (version "2.1-20201027")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/openresty/luajit2.git")
+                  (commit (string-append "v" version))))
+            (sha256
+             (base32
+              "115gixlbik4fx62bv8m1psfvv48alcvg3hki5kz3hcpa830gd7zp"))
+            (patches (search-patches
+                      "luajit-enable-lua52compat.patch"))))
+   (arguments
+    `(#:tests? #f
+      #:phases (modify-phases %standard-phases
+                              (delete 'configure))
+      #:make-flags (list
+                    (string-append "PREFIX=" (assoc-ref %outputs "out")))))
+   (synopsis "OpenResty's Branch of LuaJIT 2")
+   (description
+    "This package provides the official OpenResty branch of LuaJIT. It is not to
+be considered a fork, since changes are regularly synchronized from the upstream
+LuaJIT project. This package also enables the Lua 5.2 compat mode needed by some
+projects.")
+   (home-page "https://github.com/openresty/luajit2")))
+
 (define (make-lua-expat name lua)
   (package
     (name name)
-- 
2.30.1


  reply	other threads:[~2021-02-23 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 10:00 [bug#46231] Add emilua Vinícius dos Santos Oliveira
2021-02-21  1:21 ` Nicolas Goaziou
2021-02-21 12:04   ` Vinícius dos Santos Oliveira
2021-02-22 10:04     ` Nicolas Goaziou
2021-02-23 20:35       ` Vinícius dos Santos Oliveira [this message]
2021-02-24 13:07         ` Nicolas Goaziou
2021-02-24 13:20           ` Vinícius dos Santos Oliveira
2021-02-24 15:49             ` Nicolas Goaziou
2021-02-25 14:11               ` Vinícius dos Santos Oliveira
2021-02-27 11:20                 ` bug#46231: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK9Rve+mtdU3=Qmxku_ny2M2Q22oe8AzzD_M-KO3+Z5L_423qg@mail.gmail.com' \
    --to=vini.ipsmaker@gmail.com \
    --cc=46231@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.