-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcv-scm-1.rockspec
More file actions
44 lines (38 loc) · 1.07 KB
/
cv-scm-1.rockspec
File metadata and controls
44 lines (38 loc) · 1.07 KB
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
package = 'cv'
version = 'scm-1'
source = {
url = "git+https://github.com/tarantool/c-validator.git",
branch = 'master';
}
description = {
summary = 'Fast schema validator for Tarantool';
detailed = [[
cv is a schema-based validator for Tarantool,
implemented in C for maximum performance.
It is compatible with the aeon.common.validator API
and provides ~10x speedup over the pure-Lua version.
Supports: maps, arrays, oneof, rename, defaults,
transforms, constraints, uuid, tuple, int64/uint64,
box.NULL, and OpenAPI 3.1 schema serialization.
]];
homepage = 'https://github.com/tarantool/c-validator';
license = 'BSD-2-Clause';
}
dependencies = {
'lua == 5.1';
}
external_dependencies = {
TARANTOOL = {
header = 'tarantool/module.h';
};
}
build = {
type = 'cmake';
variables = {
CMAKE_BUILD_TYPE = 'RelWithDebInfo';
TARANTOOL_DIR = '$(TARANTOOL_DIR)';
TARANTOOL_INSTALL_LIBDIR = '$(LIBDIR)';
TARANTOOL_INSTALL_LUADIR = '$(LUADIR)';
};
}
-- vim: syntax=lua ts=4 sts=4 sw=4 et