mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
40 lines
860 B
Nix
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
|
|
];
|
|
};
|
|
})
|