luaPackages.middleclass: init at 4.1.1-0

This commit is contained in:
Tyler Miller 2023-10-01 23:40:19 -07:00 committed by Matthieu Coudron
parent e5f6200d16
commit c02ab0ce68
2 changed files with 24 additions and 0 deletions

View file

@ -89,6 +89,7 @@ lyaml,,,,,,lblasc
magick,,,,,,donovanglover magick,,,,,,donovanglover
markdown,,,,,, markdown,,,,,,
mediator_lua,,,,,, mediator_lua,,,,,,
middleclass,,,,,,
mpack,,,,,, mpack,,,,,,
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
nvim-client,https://github.com/neovim/lua-client.git,,,,, nvim-client,https://github.com/neovim/lua-client.git,,,,,

1 name src ref server version luaversion maintainers
89 magick donovanglover
90 markdown
91 mediator_lua
92 middleclass
93 mpack
94 moonscript https://github.com/leafo/moonscript.git dev-1 arobyn
95 nvim-client https://github.com/neovim/lua-client.git

View file

@ -2501,6 +2501,29 @@ buildLuarocksPackage {
}; };
}) {}; }) {};
middleclass = callPackage({ luaOlder, buildLuarocksPackage, fetchurl, lua }:
buildLuarocksPackage {
pname = "middleclass";
version = "4.1.1-0";
knownRockspec = (fetchurl {
url = "mirror://luarocks/middleclass-4.1.1-0.rockspec";
sha256 = "10xzs48lr1dy7cx99581r956gl16px0a9gbdlfar41n19r96mhb1";
}).outPath;
src = fetchurl {
url = "https://github.com/kikito/middleclass/archive/v4.1.1.tar.gz";
sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh";
};
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua ];
meta = {
homepage = "https://github.com/kikito/middleclass";
description = "A simple OOP library for Lua";
license.fullName = "MIT";
};
}) {};
moonscript = callPackage({ lpeg, luaOlder, fetchgit, lua, buildLuarocksPackage, argparse, luafilesystem }: moonscript = callPackage({ lpeg, luaOlder, fetchgit, lua, buildLuarocksPackage, argparse, luafilesystem }:
buildLuarocksPackage { buildLuarocksPackage {
pname = "moonscript"; pname = "moonscript";