mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
lua*Packages.lpeg_patterns: init at 0.5
This commit is contained in:
parent
3a808133d3
commit
4aa324ac5a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user