Changed rock module name (#3)

* Changed rock name from `sleep` to `np-sleep`
* Relaxed restrictions on rock build action
This commit is contained in:
2026-04-12 09:16:32 +02:00
committed by GitHub
parent 8b7e3c86d8
commit 3c1be44863
2 changed files with 3 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
package = "np-sleep"
version = "2.0.0-1"
source = {
url = "https://github.com/aziascreations/LuaJIT-Sleep/archive/refs/tags/v2.0.0.tar.gz",
dir = "LuaJIT-Sleep-2.0.0",
}
description = {
summary = "Pure LuaJIT bindings and wrappers for Win32 and Linux sleep functions.",
detailed = "Module that exposes millisecond and second precision sleep functions for Linux and Windows without having to compile anything.",
homepage = "https://github.com/aziascreations/LuaJIT-Sleep",
license = "CC0 1.0 Universal"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "builtin",
modules = {
sleep = "sleep.lua"
},
}