nixpkgs/pkgs/development/ocaml-modules/ppx_mikmatch/default.nix
2026-06-25 19:34:33 +00:00

40 lines
860 B
Nix

{
buildDunePackage,
fetchurl,
lib,
menhir,
ounit2,
ppxlib,
re,
}:
buildDunePackage (finalAttrs: {
pname = "ppx_mikmatch";
version = "1.5";
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-tDp4iYJLzfVKB6VBWrHtT2jrHDtJCEPVplSNrXX5wek=";
};
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
];
};
})