luaPackages.lpeg_patterns: move to generated
This commit is contained in:
parent
adb837eea7
commit
f0269de17f
@ -2,6 +2,7 @@ ansicolors,
|
|||||||
argparse,
|
argparse,
|
||||||
dkjson
|
dkjson
|
||||||
inspect
|
inspect
|
||||||
|
lpeg_patterns
|
||||||
lrexlib-gnu,
|
lrexlib-gnu,
|
||||||
lrexlib-posix,
|
lrexlib-posix,
|
||||||
ltermbox,
|
ltermbox,
|
||||||
|
|
@ -90,6 +90,26 @@ inspect = buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
lpeg_patterns = buildLuarocksPackage {
|
||||||
|
pname = "lpeg_patterns";
|
||||||
|
version = "0.5-0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://luarocks.org/lpeg_patterns-0.5-0.src.rock;
|
||||||
|
sha256 = "0mlw4nayrsdxrh98i26avz5i4170a9brciybw88kks496ra36v8f";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [lua lpeg ];
|
||||||
|
buildType="builtin";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
|
||||||
|
description="a collection of LPEG patterns";
|
||||||
|
license = {
|
||||||
|
fullName = "MIT";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
lrexlib-gnu = buildLuarocksPackage {
|
lrexlib-gnu = buildLuarocksPackage {
|
||||||
pname = "lrexlib-gnu";
|
pname = "lrexlib-gnu";
|
||||||
version = "2.9.0-1";
|
version = "2.9.0-1";
|
||||||
|
@ -915,32 +915,6 @@ with self; {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
lpeg_patterns = buildLuaPackage rec {
|
|
||||||
version = "0.5";
|
|
||||||
name = "lpeg_patterns-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "daurnimator";
|
|
||||||
repo = "lpeg_patterns";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildPhase = ":";
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p "$out/lib/lua/${lua.luaversion}"
|
|
||||||
mv lpeg_patterns "$out/lib/lua/${lua.luaversion}/"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "A collection of LPEG patterns";
|
|
||||||
homepage = "https://github.com/daurnimator/lpeg_patterns";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ vcunat ];
|
|
||||||
inherit (lpeg.meta) platforms;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cjson = buildLuaPackage rec {
|
cjson = buildLuaPackage rec {
|
||||||
name = "cjson-${version}";
|
name = "cjson-${version}";
|
||||||
version = "2.1.0";
|
version = "2.1.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user