Skip to content

Commit

Permalink
luaPackages.middleclass: init at 4.1.1-0
Browse files Browse the repository at this point in the history
  • Loading branch information
tmillr committed Oct 3, 2023
1 parent a7da388 commit ec5b607
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions maintainers/scripts/luarocks-packages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ lyaml,,,,,,lblasc
magick,,,,,,donovanglover
markdown,,,,,,
mediator_lua,,,,,,
middleclass,,,,,,
mpack,,,,,,
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
nvim-client,https://github.com/neovim/lua-client.git,,,,,
Expand Down
23 changes: 23 additions & 0 deletions pkgs/development/lua-modules/generated-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 }:
buildLuarocksPackage {
pname = "moonscript";
Expand Down

0 comments on commit ec5b607

Please sign in to comment.