luaPackages.lua-subprocess: init at scm-1

This commit is contained in:
Spencer Pogorzelski 2022-08-08 13:37:09 -07:00 committed by Matthieu Coudron
parent b74d6cd93f
commit 6898b758b6
2 changed files with 32 additions and 0 deletions

View File

@ -45,6 +45,7 @@ lua-resty-jwt,,,,,,
lua-resty-openidc,,,,,,
lua-resty-openssl,,,,,,
lua-resty-session,,,,,,
lua-subprocess,https://github.com/0x0ade/lua-subprocess,,,,lua5_1,scoder12
lua-term,,,,,,
lua-toml,,,,,,
lua-zlib,,,,,,koral

1 name src ref server version luaversion maintainers
45 lua-resty-openidc
46 lua-resty-openssl
47 lua-resty-session
48 lua-subprocess https://github.com/0x0ade/lua-subprocess lua5_1 scoder12
49 lua-term
50 lua-toml
51 lua-zlib koral

View File

@ -1357,6 +1357,37 @@ buildLuarocksPackage {
};
}) {};
lua-subprocess = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, lua
}:
buildLuarocksPackage {
pname = "subprocess";
version = "scm-1";
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/0x0ade/lua-subprocess.git",
"rev": "bfa8e97da774141f301cfd1106dca53a30a4de54",
"date": "2021-01-09T22:31:54+01:00",
"path": "/nix/store/3lr7n1k85kbf718wxr51xd40i8dfs5qd-lua-subprocess",
"sha256": "0p91hda0b0hpgdbff5drcyygaizq086gw8vnvzn0y0fg3mc9if70",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
"leaveDotGit": false
}
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
propagatedBuildInputs = [ lua ];
meta = {
homepage = "https://github.com/xlq/lua-subprocess";
description = "A Lua module written in C that allows you to create child processes and communicate with them.";
maintainers = with lib.maintainers; [ scoder12 ];
license.fullName = "MIT";
};
}) {};
lua-term = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchurl}:
buildLuarocksPackage {