mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
luaPackages.lrexlib-pcre2: init at 2.9.2-1
This commit is contained in:
@@ -49,6 +49,7 @@ lpeglabel,,,,1.6.0,,
|
||||
lrexlib-gnu,,,,,,
|
||||
lrexlib-oniguruma,,,,,,junestepp
|
||||
lrexlib-pcre,,,,,,
|
||||
lrexlib-pcre2,,,,,,wishstudio
|
||||
lrexlib-posix,,,,,,
|
||||
lsp-progress.nvim,,,,,5.1,gepbird
|
||||
lsqlite3,,,,,,
|
||||
|
||||
|
@@ -1807,6 +1807,43 @@ final: prev: {
|
||||
}
|
||||
) { };
|
||||
|
||||
lrexlib-pcre2 = callPackage (
|
||||
{
|
||||
buildLuarocksPackage,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
luaOlder,
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "lrexlib-pcre2";
|
||||
version = "2.9.2-1";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/lrexlib-pcre2-2.9.2-1.rockspec";
|
||||
sha256 = "181878m8gq9wl7c4h9rsq1iig70n9rmyfbj86swz1v4vi7s7ks9p";
|
||||
}).outPath;
|
||||
src = fetchFromGitHub {
|
||||
owner = "rrthomas";
|
||||
repo = "lrexlib";
|
||||
rev = "rel-2-9-2";
|
||||
hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/rrthomas/lrexlib";
|
||||
maintainers = with lib.maintainers; [ wishstudio ];
|
||||
license.fullName = "MIT/X11";
|
||||
description = "Regular expression library binding (PCRE2 flavour).";
|
||||
longDescription = ''
|
||||
Lrexlib is a regular expression library for Lua 5.1-5.4, which
|
||||
provides bindings for several regular expression libraries.
|
||||
This rock provides the PCRE2 bindings.'';
|
||||
};
|
||||
}
|
||||
) { };
|
||||
|
||||
lrexlib-posix = callPackage (
|
||||
{
|
||||
buildLuarocksPackage,
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
openldap,
|
||||
openssl,
|
||||
pcre,
|
||||
pcre2,
|
||||
pkg-config,
|
||||
readline,
|
||||
ripgrep,
|
||||
@@ -438,6 +439,15 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
lrexlib-pcre2 = prev.lrexlib-pcre2.overrideAttrs {
|
||||
externalDeps = [
|
||||
{
|
||||
name = "PCRE2";
|
||||
dep = pcre2;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
lrexlib-posix = prev.lrexlib-posix.overrideAttrs (old: {
|
||||
buildInputs = old.buildInputs ++ [
|
||||
(lib.getDev libc)
|
||||
|
||||
Reference in New Issue
Block a user