-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
rest.nvim-scm-1.rockspec
55 lines (48 loc) · 1.23 KB
/
rest.nvim-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
47
48
49
50
51
52
53
54
55
-- HACK: this file isn't really needed for release because rest.nvim uses
-- luarocks-tags-relase github action for actual relaeses, but it is here to be
-- used for local testing
---@diagnostic disable: lowercase-global
local MAJOR, REV = "scm", "-1"
rockspec_format = "3.0"
package = "rest.nvim"
version = MAJOR .. REV
description = {
summary = "A fast and asynchronous Neovim HTTP client written in Lua",
labels = { "neovim", "rest" },
detailed = [[
A very fast, powerful, extensible and asynchronous Neovim HTTP client written in Lua.
rest.nvim by default makes use of its own `curl` wrapper to make requests and a tree-sitter parser to parse http files.
]],
homepage = "https://github.com/rest-nvim/rest.nvim",
license = "GPLv3",
}
dependencies = {
"lua >= 5.1, < 5.4",
"nvim-nio",
"mimetypes",
"xml2lua",
"fidget.nvim",
}
test_dependencies = {
"nlua",
}
source = {
url = "https://github.com/rest-nvim/rest.nvim/archive/" .. MAJOR .. ".zip",
dir = "rest.nvim-" .. MAJOR,
}
if MAJOR == "scm" then
source = {
url = "git://github.com/rest-nvim/rest.nvim",
}
end
build = {
type = "builtin",
copy_directories = {
"doc",
"plugin",
"ftdetect",
"ftplugin",
"queries",
"syntax",
}
}