ocamlPackages.ocaml_pcre: 7.2.3 → 7.4.6

This commit is contained in:
Vincent Laporte 2021-07-14 17:57:06 +02:00 committed by Vincent Laporte
parent dd19e6272e
commit 5349ebee9a

View file

@ -1,26 +1,26 @@
{ lib, stdenv, fetchurl, pcre, ocaml, findlib, ocamlbuild }: { lib, buildDunePackage, fetchurl, pcre, dune-configurator }:
stdenv.mkDerivation rec { buildDunePackage rec {
name = "ocaml${ocaml.version}-pcre-${version}"; pname = "pcre";
version = "7.2.3"; version = "7.4.6";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchurl { src = fetchurl {
url = "https://github.com/mmottl/pcre-ocaml/releases/download/v${version}/pcre-ocaml-${version}.tar.gz"; url = "https://github.com/mmottl/pcre-ocaml/releases/download/${version}/pcre-${version}.tbz";
sha256 = "0rj6dw79px4sj2kq0iss2nzq3rnsn9wivvc0f44wa1mppr6njfb3"; sha256 = "17ajl0ra5xkxn5pf0m0zalylp44wsfy6mvcq213djh2pwznh4gya";
}; };
buildInputs = [ ocaml findlib ocamlbuild ]; buildInputs = [ dune-configurator ];
propagatedBuildInputs = [pcre];
createFindlibDestdir = true; propagatedBuildInputs = [ pcre ];
dontConfigure = true; # Skip configure phase
meta = with lib; { meta = with lib; {
homepage = "https://bitbucket.org/mmottl/pcre-ocaml"; homepage = "https://mmottl.github.io/pcre-ocaml";
description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml"; description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
license = licenses.lgpl21; license = licenses.lgpl21Plus;
platforms = ocaml.meta.platforms or [];
maintainers = with maintainers; [ maggesi vbmithr ]; maintainers = with maintainers; [ maggesi vbmithr ];
}; };
} }