mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
luaPackages.llscheck: init at 0.5.0-1
This commit is contained in:
parent
202ad9365a
commit
61e2966413
@ -35,6 +35,7 @@ ldoc,,,,,,
|
||||
lgi,,,,,,
|
||||
linenoise,https://raw.githubusercontent.com/hoelzro/lua-linenoise/master/linenoise-0.9-1.rockspec,,,,,
|
||||
ljsyscall,,,,,5.1,lblasc
|
||||
llscheck,,,,,,mrcjkb
|
||||
lmathx,,,,,5.3,alexshpilkin
|
||||
lmpfrlib,,,,,5.3,alexshpilkin
|
||||
loadkit,,,,,,alerque
|
||||
|
|
@ -848,6 +848,32 @@ buildLuarocksPackage {
|
||||
};
|
||||
}) {};
|
||||
|
||||
llscheck = callPackage({ ansicolors, argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-cjson, luaOlder, luafilesystem, penlight }:
|
||||
buildLuarocksPackage {
|
||||
pname = "llscheck";
|
||||
version = "0.5.0-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/llscheck-0.5.0-1.rockspec";
|
||||
sha256 = "1bcyg1gphlgwmra8l1503yaw6wfihs1fksdvvp1y38zryhkvj0dy";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "jeffzi";
|
||||
repo = "llscheck";
|
||||
rev = "v0.5.0";
|
||||
hash = "sha256-cG/FNzOwvLvrAEut4OvXI8WWSVzNEl4r3OgiSnp3S5c=";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
propagatedBuildInputs = [ ansicolors argparse lua-cjson luafilesystem penlight ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jeffzi/llscheck";
|
||||
description = "Human-friendly Lua code analysis powered by Lua Language Server";
|
||||
maintainers = with lib.maintainers; [ mrcjkb ];
|
||||
license.fullName = "MIT";
|
||||
};
|
||||
}) {};
|
||||
|
||||
lmathx = callPackage({ buildLuarocksPackage, fetchurl }:
|
||||
buildLuarocksPackage {
|
||||
pname = "lmathx";
|
||||
|
@ -35,6 +35,7 @@
|
||||
, libxcrypt
|
||||
, libyaml
|
||||
, luajitPackages
|
||||
, lua-language-server
|
||||
, mariadb
|
||||
, magic-enum
|
||||
, mpfr
|
||||
@ -246,6 +247,10 @@ in
|
||||
meta.broken = luaOlder "5.1" || luaAtLeast "5.4";
|
||||
});
|
||||
|
||||
llscheck = prev.llscheck.overrideAttrs (oa: {
|
||||
propagatedBuildInputs = oa.propagatedBuildInputs ++ [ lua-language-server ];
|
||||
});
|
||||
|
||||
lmathx = prev.luaLib.overrideLuarocks prev.lmathx (drv:
|
||||
if luaAtLeast "5.1" && luaOlder "5.2" then {
|
||||
version = "20120430.51-1";
|
||||
|
Loading…
Reference in New Issue
Block a user