mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
luaPackages.luacheck : init at 0.20.0
This commit is contained in:
parent
9447b8b9cd
commit
2131b0925a
@ -71,6 +71,32 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
luacheck = buildLuaPackage rec {
|
||||||
|
pname = "luacheck";
|
||||||
|
version = "0.20.0";
|
||||||
|
name = "${pname}${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mpeterv";
|
||||||
|
repo = "luacheck";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0ahfkmqcjhlb7r99bswy1sly6d7p4pyw5f4x4fxnxzjhbq0c5qcs";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ lua ];
|
||||||
|
|
||||||
|
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;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
luaevent = buildLuaPackage rec {
|
luaevent = buildLuaPackage rec {
|
||||||
version = "0.4.3";
|
version = "0.4.3";
|
||||||
name = "luaevent-${version}";
|
name = "luaevent-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user