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
71
};
72
72
};
73
73
74
74
+
luacheck = buildLuaPackage rec {
75
75
+
pname = "luacheck";
76
76
+
version = "0.20.0";
77
77
+
name = "${pname}${version}";
78
78
+
79
79
+
src = fetchFromGitHub {
80
80
+
owner = "mpeterv";
81
81
+
repo = "luacheck";
82
82
+
rev = "${version}";
83
83
+
sha256 = "0ahfkmqcjhlb7r99bswy1sly6d7p4pyw5f4x4fxnxzjhbq0c5qcs";
84
84
+
};
85
85
+
86
86
+
propagatedBuildInputs = [ lua ];
87
87
+
88
88
+
installPhase = ''
89
89
+
${lua}/bin/lua install.lua $out
90
90
+
'';
91
91
+
92
92
+
meta = with stdenv.lib; {
93
93
+
description = "A tool for linting and static analysis of Lua code";
94
94
+
homepage = https://github.com/mpeterv/luacheck;
95
95
+
license = licenses.mit;
96
96
+
platforms = platforms.unix;
97
97
+
};
98
98
+
};
99
99
+
74
100
luaevent = buildLuaPackage rec {
75
101
version = "0.4.3";
76
102
name = "luaevent-${version}";