From d8b075ebb4692b8dac9af12c98db4016c5ea4854 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 27 Nov 2025 18:41:16 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.ocaml=5Fpcre:=208.0.4=20=E2=86=92?= =?UTF-8?q?=208.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/pcre/default.nix | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) 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 ]; }; -} +})