summaryrefslogtreecommitdiff
path: root/gnu/packages/lua.scm
diff options
context:
space:
mode:
authorYappaholic <sav.boyar@gmail.com>2026-05-19 17:47:53 +0300
committerNguyễn Gia Phong <cnx@loang.net>2026-05-26 00:13:16 +0900
commit4d65795173c84329cf1e2f4254150a57c72276bc (patch)
tree0ad5969dcfb031dccb087d23ca3113f74baffacf /gnu/packages/lua.scm
parent781c25ada98d70da41c4b2894ddf9216298cf133 (diff)
gnu: Add lua-5.5.
* gnu/packages/lua.scm (lua-5.5): New variable. Merges: https://codeberg.org/guix/guix/pulls/8515 Reviewed-by: Carlo Zancanaro <carlo@zancanaro.id.au> Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu/packages/lua.scm')
-rw-r--r--gnu/packages/lua.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 0f4ff637951..190b723a02b 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -151,6 +151,22 @@ automatic memory management with incremental garbage collection, making it ideal
151for configuration, scripting, and rapid prototyping.") 151for configuration, scripting, and rapid prototyping.")
152 (license license:x11))) 152 (license license:x11)))
153 153
154(define-public lua-5.5
155 (package (inherit lua)
156 (version "5.5.0")
157 (source (origin
158 (method url-fetch)
159 (uri (string-append "https://www.lua.org/ftp/lua-"
160 version ".tar.gz"))
161 (sha256
162 (base32 "0gcbsr00difm2s82pflxg28zcnjka9048lncbfvwl1fhpcmw7k2p"))
163 ;; Note: Some lua-5.4 patches seem to apply without issues
164 (patches (search-patches "lua-5.4-pkgconfig.patch"
165 "lua-5.4-liblua-so.patch"
166 "lua-5.x-search-path-helpers.patch"
167 "lua-5.5-search-paths.patch"))))
168 (native-search-paths (lua-search-paths "5.5"))))
169
154(define-public lua-5.4 170(define-public lua-5.4
155 (package (inherit lua) 171 (package (inherit lua)
156 (version "5.4.8") 172 (version "5.4.8")