depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pcre/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

26 lines
732 B
Nix

{ lib, buildDunePackage, fetchurl, pcre, dune-configurator }:
buildDunePackage rec {
pname = "pcre";
version = "7.5.0";
useDune2 = true;
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/mmottl/pcre-ocaml/releases/download/${version}/pcre-${version}.tbz";
sha256 = "sha256-ZxFC9AtthhccvAZyU/qt+QMBkWHVdIi9D7bFRWwsvRo=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ pcre ];
meta = with lib; {
homepage = "https://mmottl.github.io/pcre-ocaml";
description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ maggesi vbmithr ];
};
}