gnu: lua: Add version 5.4.3.

* gnu/packages/lua.scm (lua-5.4): New variable.
* gnu/packages/patches/lua-5.4-liblua-so.patch,
gnu/packages/patches/lua-5.4-pkgconfig.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Alex Devaure 2022-01-11 12:21:13 +00:00 committed by Ludovic Courtès
parent 197579417d
commit 2c9902cae9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
4 changed files with 157 additions and 0 deletions

View file

@ -105,6 +105,18 @@ automatic memory management with incremental garbage collection, making it ideal
for configuration, scripting, and rapid prototyping.")
(license license:x11)))
(define-public lua-5.4
(package (inherit lua)
(version "5.4.3")
(source (origin
(method url-fetch)
(uri (string-append "https://www.lua.org/ftp/lua-"
version ".tar.gz"))
(sha256
(base32 "1yxvjvnbg4nyrdv10bq42gz6dr66pyan28lgzfygqfwy2rv24qgq"))
(patches (search-patches "lua-5.4-pkgconfig.patch"
"lua-5.4-liblua-so.patch"))))))
(define-public lua-5.2
(package (inherit lua)
(version "5.2.4")