luaPackages.protobuf: init at 0.4.0

This commit is contained in:
Jan Schmitt 2022-08-02 22:33:57 +02:00 committed by Matthieu Coudron
parent 901a4af249
commit 16559154a6
2 changed files with 34 additions and 0 deletions

View File

@ -39,6 +39,7 @@ lua-cmsgpack,,,,,,
lua-iconv,,,,,, lua-iconv,,,,,,
lua-lsp,,,,,, lua-lsp,,,,,,
lua-messagepack,,,,,, lua-messagepack,,,,,,
lua-protobuf,,,,,,
lua-resty-http,,,,,, lua-resty-http,,,,,,
lua-resty-jwt,,,,,, lua-resty-jwt,,,,,,
lua-resty-openidc,,,,,, lua-resty-openidc,,,,,,

1 name src ref server version luaversion maintainers
39 lua-iconv
40 lua-lsp
41 lua-messagepack
42 lua-protobuf
43 lua-resty-http
44 lua-resty-jwt
45 lua-resty-openidc

View File

@ -1161,6 +1161,39 @@ buildLuarocksPackage {
}; };
}) {}; }) {};
lua-protobuf = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, lua
}:
buildLuarocksPackage {
pname = "lua-protobuf";
version = "0.4.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/lua-protobuf-0.4.0-1.rockspec";
sha256 = "053r6z37847wm1xaxv5rwplmdqkp507qawgd382z0l7m05f06ls9";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/starwing/lua-protobuf.git",
"rev": "832facd266366cd86ee9bf41d35327255d0033f2",
"date": "2022-07-27T14:34:12+08:00",
"path": "/nix/store/g68x4cbi6ssd5zak14r5cbi7k88d3ml9-lua-protobuf",
"sha256": "0ynfq0va4w8zlr67ld6v9nmi5mnvchfygd8h5jbwk2vzlj9hg2yw",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
"leaveDotGit": false
}
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
propagatedBuildInputs = [ lua ];
meta = {
homepage = "https://github.com/starwing/lua-protobuf";
description = "protobuf data support for Lua";
license.fullName = "MIT";
};
}) {};
lua-resty-http = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast lua-resty-http = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, lua , fetchgit, lua
}: }: