mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
luaPackages.luacheck: 0.20 -> 0.23 generated
This commit is contained in:
parent
421110ae36
commit
c789b88cdd
3 changed files with 21 additions and 30 deletions
|
@ -14,6 +14,7 @@ lua-cmsgpack,
|
||||||
lua_cliargs,
|
lua_cliargs,
|
||||||
lua-term,
|
lua-term,
|
||||||
luaevent,
|
luaevent,
|
||||||
|
luacheck
|
||||||
luaffi,http://luarocks.org/dev,
|
luaffi,http://luarocks.org/dev,
|
||||||
luuid,
|
luuid,
|
||||||
penlight,
|
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 {
|
luaffi = buildLuarocksPackage {
|
||||||
pname = "luaffi";
|
pname = "luaffi";
|
||||||
version = "scm-1";
|
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 {
|
luacyrussasl = buildLuaPackage rec {
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
name = "lua-cyrussasl-${version}";
|
name = "lua-cyrussasl-${version}";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue