File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11local v2 = {
2- _VERSION = ' paseto v0.3 .0' ,
2+ _VERSION = ' paseto v0.4 .0' ,
33 _DESCRIPTION = ' PASETO (Platform-Agnostic Security Tokens) for Lua' ,
44 _URL = ' https://github.com/peter-evans/paseto-lua' ,
55 _LICENSE = [[
Original file line number Diff line number Diff line change 11local core = {
2- _VERSION = ' paseto v0.3 .0' ,
2+ _VERSION = ' paseto v0.4 .0' ,
33 _DESCRIPTION = ' PASETO (Platform-Agnostic Security Tokens) for Lua' ,
44 _URL = ' https://github.com/peter-evans/paseto-lua' ,
55 _LICENSE = [[
Original file line number Diff line number Diff line change 1+ package = " paseto"
2+ version = " 0.4.0-1"
3+ description = {
4+ summary = " PASETO (Platform-Agnostic Security Tokens) for Lua" ,
5+ detailed = " PASETO (Platform-Agnostic SEcurity TOkens) is a specification and reference implementation for secure stateless tokens." ,
6+ homepage = " http://github.com/peter-evans/paseto-lua" ,
7+ license = " MIT"
8+ }
9+ source = {
10+ url = " https://github.com/peter-evans/paseto-lua/archive/0.4.0.tar.gz" ,
11+ dir = " paseto-lua-0.4.0"
12+ }
13+ dependencies = {
14+ " lua >= 5.1, < 5.4" ,
15+ " basexx >= 0.4.0" ,
16+ " lua-struct >= 0.9.0" ,
17+ " lua-cjson >= 2.1.0" ,
18+ " date >= 2.1.2"
19+ }
20+ external_dependencies = {
21+ SODIUM = {
22+ header = " sodium.h"
23+ }
24+ }
25+ supported_platforms = {
26+ " linux"
27+ }
28+ build = {
29+ type = " builtin" ,
30+ modules = {
31+ [" luasodium" ] = {
32+ sources = { " csrc/luasodium.c" },
33+ libraries = { " sodium" },
34+ incdirs = { " $(SODIUM_INCDIR)" },
35+ libdirs = { " $(SODIUM_LIBDIR)" }
36+ },
37+ [" paseto.v2" ] = " paseto/v2.lua" ,
38+ [" paseto.v2.core" ] = " paseto/v2/core.lua"
39+ }
40+ }
You can’t perform that action at this time.
0 commit comments