luaPackages.lrexlib-oniguruma: init at 2.9.2-1

This commit is contained in:
June Stepp 2025-06-21 17:53:21 -05:00 committed by Kerstin
parent 1785337274
commit a5539704d7
3 changed files with 44 additions and 0 deletions

View File

@ -45,6 +45,7 @@ lpeg,,,,,,vyp
lpeg_patterns,,,,,,
lpeglabel,,,,1.6.0,,
lrexlib-gnu,,,,,,
lrexlib-oniguruma,,,,,,junestepp
lrexlib-pcre,,,,,,vyp
lrexlib-posix,,,,,,
lsp-progress.nvim,,,,,,gepbird

1 name rockspec ref server version luaversion maintainers
45 lpeg_patterns
46 lpeglabel 1.6.0
47 lrexlib-gnu
48 lrexlib-oniguruma junestepp
49 lrexlib-pcre vyp
50 lrexlib-posix
51 lsp-progress.nvim gepbird

View File

@ -1511,6 +1511,39 @@ final: prev: {
}
) { };
lrexlib-oniguruma = callPackage (
{
buildLuarocksPackage,
fetchFromGitHub,
fetchurl,
luaOlder,
}:
buildLuarocksPackage {
pname = "lrexlib-oniguruma";
version = "2.9.2-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/lrexlib-oniguruma-2.9.2-1.rockspec";
sha256 = "13m2v6mmmlkf2bd1mnngg118s4ymrqs7n34la6hrb4m1x772adhd";
}).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";
description = "Regular expression library binding (oniguruma flavour).";
maintainers = with lib.maintainers; [ junestepp ];
license.fullName = "MIT/X11";
};
}
) { };
lrexlib-pcre = callPackage (
{
buildLuarocksPackage,

View File

@ -39,6 +39,7 @@
mariadb,
mpfr,
neovim-unwrapped,
oniguruma,
openldap,
openssl,
pcre,
@ -379,6 +380,15 @@ in
];
});
lrexlib-oniguruma = prev.lrexlib-oniguruma.overrideAttrs (oa: {
externalDeps = [
{
name = "ONIG";
dep = oniguruma;
}
];
});
lrexlib-pcre = prev.lrexlib-pcre.overrideAttrs (oa: {
externalDeps = [
{