tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
luaPackages.luacheck : init at 0.20.0
wisut hantanong
8 years ago
2131b092
9447b8b9
+26
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
lua-packages.nix
+26
pkgs/top-level/lua-packages.nix
···
71
};
72
};
73
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
74
luaevent = buildLuaPackage rec {
75
version = "0.4.3";
76
name = "luaevent-${version}";
···
71
};
72
};
73
74
+
luacheck = buildLuaPackage rec {
75
+
pname = "luacheck";
76
+
version = "0.20.0";
77
+
name = "${pname}${version}";
78
+
79
+
src = fetchFromGitHub {
80
+
owner = "mpeterv";
81
+
repo = "luacheck";
82
+
rev = "${version}";
83
+
sha256 = "0ahfkmqcjhlb7r99bswy1sly6d7p4pyw5f4x4fxnxzjhbq0c5qcs";
84
+
};
85
+
86
+
propagatedBuildInputs = [ lua ];
87
+
88
+
installPhase = ''
89
+
${lua}/bin/lua install.lua $out
90
+
'';
91
+
92
+
meta = with stdenv.lib; {
93
+
description = "A tool for linting and static analysis of Lua code";
94
+
homepage = https://github.com/mpeterv/luacheck;
95
+
license = licenses.mit;
96
+
platforms = platforms.unix;
97
+
};
98
+
};
99
+
100
luaevent = buildLuaPackage rec {
101
version = "0.4.3";
102
name = "luaevent-${version}";