mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +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,,,,,,
|
lgi,,,,,,
|
||||||
linenoise,https://raw.githubusercontent.com/hoelzro/lua-linenoise/master/linenoise-0.9-1.rockspec,,,,,
|
linenoise,https://raw.githubusercontent.com/hoelzro/lua-linenoise/master/linenoise-0.9-1.rockspec,,,,,
|
||||||
ljsyscall,,,,,5.1,lblasc
|
ljsyscall,,,,,5.1,lblasc
|
||||||
|
llscheck,,,,,,mrcjkb
|
||||||
lmathx,,,,,5.3,alexshpilkin
|
lmathx,,,,,5.3,alexshpilkin
|
||||||
lmpfrlib,,,,,5.3,alexshpilkin
|
lmpfrlib,,,,,5.3,alexshpilkin
|
||||||
loadkit,,,,,,alerque
|
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 }:
|
lmathx = callPackage({ buildLuarocksPackage, fetchurl }:
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "lmathx";
|
pname = "lmathx";
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
, libxcrypt
|
, libxcrypt
|
||||||
, libyaml
|
, libyaml
|
||||||
, luajitPackages
|
, luajitPackages
|
||||||
|
, lua-language-server
|
||||||
, mariadb
|
, mariadb
|
||||||
, magic-enum
|
, magic-enum
|
||||||
, mpfr
|
, mpfr
|
||||||
@ -246,6 +247,10 @@ in
|
|||||||
meta.broken = luaOlder "5.1" || luaAtLeast "5.4";
|
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:
|
lmathx = prev.luaLib.overrideLuarocks prev.lmathx (drv:
|
||||||
if luaAtLeast "5.1" && luaOlder "5.2" then {
|
if luaAtLeast "5.1" && luaOlder "5.2" then {
|
||||||
version = "20120430.51-1";
|
version = "20120430.51-1";
|
||||||
|
Loading…
Reference in New Issue
Block a user