diff --git a/pkgs/development/ocaml-modules/pcre/default.nix b/pkgs/development/ocaml-modules/pcre/default.nix index cf0a68ef576a..b5c6020c5947 100644 --- a/pkgs/development/ocaml-modules/pcre/default.nix +++ b/pkgs/development/ocaml-modules/pcre/default.nix @@ -6,29 +6,25 @@ dune-configurator, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "pcre"; - version = "8.0.4"; - - useDune2 = true; - - minimalOCamlVersion = "4.12"; + version = "8.0.5"; src = fetchurl { - url = "https://github.com/mmottl/pcre-ocaml/releases/download/${version}/pcre-${version}.tbz"; - sha256 = "sha256-CIoy3Co4YnVZ5AkEjkUarqV0u08ZAqU0IQsaL1SnuCA="; + url = "https://github.com/mmottl/pcre-ocaml/releases/download/${finalAttrs.version}/pcre-${finalAttrs.version}.tbz"; + hash = "sha256-7ZvPiNeBdnrWp8BICv8J1YifL8UA3aDRYgoXhtTkRJA="; }; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ pcre ]; - meta = with lib; { + meta = { homepage = "https://mmottl.github.io/pcre-ocaml"; description = "Efficient C-library for pattern matching with Perl-style regular expressions in OCaml"; - license = licenses.lgpl21Plus; - maintainers = with maintainers; [ + license = lib.licenses.lgpl21Plus; + maintainers = with lib.maintainers; [ vbmithr ]; }; -} +})