summaryrefslogtreecommitdiff
path: root/gnu/packages/lua.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-08-27 10:18:22 +0200
committerAndreas Enge <andreas@enge.fr>2025-08-27 10:18:24 +0200
commite29ce7be9a448933417640257980a8b346ef2689 (patch)
tree0060a013eeca06633d442e0f0d0515d83dbaad97 /gnu/packages/lua.scm
parent7705745d7f2b225692176dc612c8628d903dfafb (diff)
gnu: Remove emilua.
* gnu/packages/lua.scm (emilua): Delete variable. Fixes: guix/guix#1625 Change-Id: I9672ef3ce1ddb10bdfea847867b48891dbb17098
Diffstat (limited to 'gnu/packages/lua.scm')
-rw-r--r--gnu/packages/lua.scm98
1 files changed, 0 insertions, 98 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 7fb07cab0cb..bfdbafa1bbb 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1309,104 +1309,6 @@ multiple local rocks trees.")
1309(define-public luarocks 1309(define-public luarocks
1310 (make-luarocks "luarocks" lua)) 1310 (make-luarocks "luarocks" lua))
1311 1311
1312(define-public emilua
1313 (package
1314 (name "emilua")
1315 (version "0.4.3")
1316 (source (origin
1317 (method git-fetch)
1318 (uri (git-reference
1319 (url "https://gitlab.com/emilua/emilua.git")
1320 (commit (string-append "v" version))))
1321 (file-name (git-file-name name version))
1322 (sha256
1323 (base32
1324 "1dwag2pyqc0g86rris4w4fzafmz9a6kiqd47vdq7hl3a1lyi74mx"))))
1325 (build-system meson-build-system)
1326 (arguments
1327 (list
1328 #:phases
1329 #~(modify-phases %standard-phases
1330 (add-after 'unpack 'patch
1331 (lambda* (#:key inputs #:allow-other-keys)
1332 (substitute* "src/emilua_gperf.awk"
1333 (("/usr/bin/env") (which "env")))
1334 (substitute* "src/system.cpp"
1335 (("P_PIDFD") "P_PID"))
1336
1337 (copy-recursively
1338 (assoc-ref inputs "emilua-http")
1339 "emilua-http")
1340 (copy-recursively
1341 (assoc-ref inputs "trial-protocol")
1342 "trial-protocol")
1343
1344 (with-directory-excursion "subprojects"
1345 (symlink "../emilua-http" "emilua-http")
1346 (copy-file "packagefiles/emilua-http/meson.build"
1347 "emilua-http/meson.build")
1348 (symlink "../trial-protocol" "trial-protocol")
1349 (copy-file "packagefiles/trial.protocol/meson.build"
1350 "trial-protocol/meson.build")))))
1351 #:configure-flags
1352 #~(list "-Denable_http=true"
1353 "-Denable_file_io=true"
1354 "-Denable_io_uring=true"
1355 ;; TODO: Linux namespaces are disabled for now due to conflict
1356 ;; with some packages in guix.
1357 "-Denable_linux_namespaces=false"
1358 "-Denable_manpages=false"
1359 "-Dversion_suffix=-guix1")))
1360 (native-inputs
1361 (list luajit-lua52-openresty
1362 re2c
1363 gperf
1364 xxd
1365 pkg-config))
1366 (inputs
1367 `(("emilua-http"
1368 ,(origin
1369 (method git-fetch)
1370 (uri (git-reference
1371 (url "https://github.com/BoostGSoC14/boost.http")
1372 (commit "93ae527c89ffc517862e1f5f54c8a257278f1195")))
1373 (sha256
1374 (base32
1375 "0jm7fw0cjd3s9zkkvyh6mcj6z32hcy7l9bszv74l92qk15ivvp9h"))))
1376 ("trial-protocol"
1377 ,(origin
1378 (method git-fetch)
1379 (uri (git-reference
1380 (url "https://github.com/breese/trial.protocol")
1381 (commit "79149f604a49b8dfec57857ca28aaf508069b669")))
1382 (sha256
1383 (base32
1384 "0k42i5b4v3zz5x0r3dssiymgmn2x8zg4fzdksya9aggxgigippsx"))))
1385 ("boost" ,boost)
1386 ("boost-static" ,boost-static)
1387 ("fmt" ,fmt-8)
1388 ("gcc" ,gcc-12)
1389 ("luajit-lua52-openresty" ,luajit-lua52-openresty)
1390 ("ncurses" ,ncurses)
1391 ("serd" ,serd)
1392 ("sord" ,sord)
1393 ("libcap" ,libcap)
1394 ("liburing" ,liburing)
1395 ("openssl" ,openssl)))
1396 (native-search-paths
1397 (list
1398 (search-path-specification
1399 (variable "EMILUA_PATH")
1400 (files
1401 (list (string-append "lib/emilua-" (version-major+minor version)))))))
1402 (home-page "https://gitlab.com/emilua/emilua")
1403 (synopsis "Lua execution engine")
1404 (description
1405 "Emilua is a LuaJIT-based Lua execution engine that supports async IO,
1406fibers and actor-inspired threading. The experimental builtin HTTP module is
1407enabled.")
1408 (license license:boost1.0)))
1409
1410(define-public fennel 1312(define-public fennel
1411 (package 1313 (package
1412 (name "fennel") 1314 (name "fennel")