luaPackages.luacheck: 0.20 -> 0.23 generated

wip/yesman
Matthieu Coudron 5 years ago
parent 421110ae36
commit c789b88cdd
  1. 1
      maintainers/scripts/luarocks-packages.csv
  2. 20
      pkgs/development/lua-modules/generated-packages.nix
  3. 30
      pkgs/top-level/lua-packages.nix

@ -14,6 +14,7 @@ lua-cmsgpack,
lua_cliargs,
lua-term,
luaevent,
luacheck
luaffi,http://luarocks.org/dev,
luuid,
penlight,

1 ansicolors,
14 lua_cliargs,
15 lua-term,
16 luaevent,
17 luacheck
18 luaffi,http://luarocks.org/dev,
19 luuid,
20 penlight,

@ -346,6 +346,26 @@ luaevent = buildLuarocksPackage {
};
};
};
luacheck = buildLuarocksPackage {
pname = "luacheck";
version = "0.23.0-1";
src = fetchurl {
url = https://luarocks.org/luacheck-0.23.0-1.src.rock;
sha256 = "0akj61c7k1na2mggsckvfn9a3ljfp4agnmr9gp3mac4vin99a1cl";
};
disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
propagatedBuildInputs = [lua argparse luafilesystem ];
buildType="builtin";
meta = {
homepage = "https://github.com/mpeterv/luacheck";
description="A static analyzer and a linter for Lua";
license = {
fullName = "MIT";
};
};
};
luaffi = buildLuarocksPackage {
pname = "luaffi";
version = "scm-1";

@ -236,36 +236,6 @@ with self; {
};
};
luacheck = buildLuaPackage rec {
pname = "luacheck";
version = "0.20.0";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "mpeterv";
repo = "luacheck";
rev = "${version}";
sha256 = "0ahfkmqcjhlb7r99bswy1sly6d7p4pyw5f4x4fxnxzjhbq0c5qcs";
};
propagatedBuildInputs = [ lua ];
# No Makefile.
dontBuild = true;
installPhase = ''
${lua}/bin/lua install.lua $out
'';
meta = with stdenv.lib; {
description = "A tool for linting and static analysis of Lua code";
homepage = https://github.com/mpeterv/luacheck;
license = licenses.mit;
maintainers = with maintainers; [ vyp ];
platforms = platforms.unix;
};
};
luacyrussasl = buildLuaPackage rec {
version = "1.1.0";
name = "lua-cyrussasl-${version}";

Loading…
Cancel
Save