Files
2026-06-20 22:10:56 +02:00

29 lines
677 B
Nix

{
lib,
buildDunePackage,
fetchurl,
pcre,
dune-configurator,
}:
buildDunePackage (finalAttrs: {
pname = "pcre";
version = "8.0.5";
src = fetchurl {
url = "https://github.com/mmottl/pcre-ocaml/releases/download/${finalAttrs.version}/pcre-${finalAttrs.version}.tbz";
hash = "sha256-7ZvPiNeBdnrWp8BICv8J1YifL8UA3aDRYgoXhtTkRJA=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ pcre ];
meta = {
homepage = "https://mmottl.github.io/pcre-ocaml";
description = "Efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
license = lib.licenses.lgpl21Plus;
maintainers = [ ];
};
})