From 6f7a8a63fa880b790078301a929b57ebbb62541e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 25 Nov 2025 07:27:15 +0100 Subject: [PATCH] ocamlPackages.mparser: small cleaning --- pkgs/development/ocaml-modules/mparser/default.nix | 9 ++++----- pkgs/development/ocaml-modules/mparser/pcre.nix | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/ocaml-modules/mparser/default.nix b/pkgs/development/ocaml-modules/mparser/default.nix index d9fa6326e93f..78f852371e9b 100644 --- a/pkgs/development/ocaml-modules/mparser/default.nix +++ b/pkgs/development/ocaml-modules/mparser/default.nix @@ -4,16 +4,15 @@ buildDunePackage, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mparser"; version = "1.3"; - useDune2 = true; src = fetchFromGitHub { owner = "murmour"; repo = "mparser"; - rev = version; - sha256 = "16j19v16r42gcsii6a337zrs5cxnf12ig0vaysxyr7sq5lplqhkx"; + tag = finalAttrs.version; + hash = "sha256-fUJMLy1Yn+y79mqDF0VwtrOi8z9jKBOjZk+QbMJOQZo="; }; meta = { @@ -22,4 +21,4 @@ buildDunePackage rec { homepage = "https://github.com/murmour/mparser"; maintainers = [ lib.maintainers.vbgl ]; }; -} +}) diff --git a/pkgs/development/ocaml-modules/mparser/pcre.nix b/pkgs/development/ocaml-modules/mparser/pcre.nix index c2f81d1c149a..5b9c15797dc1 100644 --- a/pkgs/development/ocaml-modules/mparser/pcre.nix +++ b/pkgs/development/ocaml-modules/mparser/pcre.nix @@ -6,7 +6,6 @@ buildDunePackage { pname = "mparser-pcre"; - useDune2 = true; inherit (mparser) src version;