lua*Packages.lpeg_patterns: init at 0.5

This commit is contained in:
Vladimír Čunát 2018-07-30 16:31:40 +02:00
parent 3a808133d3
commit 4aa324ac5a
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -737,6 +737,32 @@ let
};
};
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 {
name = "cjson-${version}";
version = "2.1.0";