-
Notifications
You must be signed in to change notification settings - Fork 0
/
neorg-query-scm-1.rockspec
46 lines (38 loc) · 990 Bytes
/
neorg-query-scm-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
local MODREV, SPECREV = "scm", "-1"
rockspec_format = "3.0"
package = "neorg-query"
version = MODREV .. SPECREV
description = {
summary = "A libsql database for your notes",
labels = { "neovim" },
homepage = "https://github.com/benluas/neorg-query",
license = "MIT",
}
source = {
url = "http://github.com/benlubas/neorg-query/archive/v" .. MODREV .. ".zip",
}
if MODREV == "scm" then
source = {
url = "git://github.com/benlubas/neorg-query",
}
end
dependencies = {
"neorg ~> 9",
"lua >= 5.1",
}
build_dependencies = {
"luarocks-build-rust-mlua",
}
build = {
type = "rust-mlua",
modules = {
["libneorg_query"] = "neorg_query",
},
install = {
lua = {
["neorg_query.api"] = "lua/neorg_query/api.lua",
["neorg_query.formatter"] = "lua/neorg_query/formatter.lua",
["neorg.modules.external.query.module"] = "lua/neorg/modules/external/query/module.lua",
},
},
}