diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index 349238b625cb..e41e8a162546 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -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 diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 3c146f50b00a..e20f45df46cb 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -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 {