ocamlPackages.ppx_mikmatch: init at 1.3

This commit is contained in:
Volker Diels-Grabsch
2026-04-15 13:13:43 +02:00
parent 01af6888ea
commit 2234319e75
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
buildDunePackage,
fetchurl,
lib,
menhir,
ounit2,
ppxlib,
re,
}:
buildDunePackage (finalAttrs: {
pname = "ppx_mikmatch";
version = "1.3";
src = fetchurl {
name = "ppx_mikmatch-${finalAttrs.version}.tar.gz";
url = "https://codeload.github.com/ahrefs/ppx_mikmatch/tar.gz/refs/tags/${finalAttrs.version}";
hash = "sha256-i97gSyutefbJbDZv/yjaeHfV1CU6j3RSaQ1oPjiz8hg=";
};
minimalOCamlVersion = "5.3";
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [
ppxlib
re
];
checkInputs = [ ounit2 ];
doCheck = true;
meta = {
description = "Matching Regular Expressions with OCaml Patterns using Mikmatch's syntax";
homepage = "https://github.com/ahrefs/ppx_mikmatch";
license = lib.licenses.lgpl3Plus;
maintainers = [
lib.maintainers.vog
lib.maintainers.zazedd
];
};
})
+2
View File
@@ -1816,6 +1816,8 @@ let
ppx_lun = callPackage ../development/ocaml-modules/lun/ppx.nix { };
ppx_mikmatch = callPackage ../development/ocaml-modules/ppx_mikmatch { };
ppx_monad = callPackage ../development/ocaml-modules/ppx_monad { };
ppx_repr = callPackage ../development/ocaml-modules/repr/ppx.nix { };