diff --git a/pkgs/development/ocaml-modules/ocaml-version/default.nix b/pkgs/development/ocaml-modules/ocaml-version/default.nix index 28f12046eaa3..bbd85889c84d 100644 --- a/pkgs/development/ocaml-modules/ocaml-version/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-version/default.nix @@ -2,19 +2,19 @@ buildDunePackage rec { pname = "ocaml-version"; - version = "3.4.0"; + version = "3.6.1"; src = fetchurl { - url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz"; - sha256 = "sha256-2MG+tejY67dxC19DTOZqPsi3UrHk1rqHxP4nRSvbiiU="; + url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-${version}.tbz"; + hash = "sha256-AKCaXUehJ3V8uET1tUDDbIzI8lZv5aygxhIbR21xnTI="; }; checkInputs = [ alcotest ]; doCheck = true; - minimumOCamlVersion = "4.07"; - useDune2 = true; + minimalOCamlVersion = "4.07"; + duneVersion = "3"; meta = with lib; { description = "Manipulate, parse and generate OCaml compiler version strings"; diff --git a/pkgs/development/tools/ocaml/ocamlformat/generic.nix b/pkgs/development/tools/ocaml/ocamlformat/generic.nix index 325ab8227b72..4ed53aad3789 100644 --- a/pkgs/development/tools/ocaml/ocamlformat/generic.nix +++ b/pkgs/development/tools/ocaml/ocamlformat/generic.nix @@ -26,11 +26,8 @@ buildDunePackage { pname = "ocamlformat"; inherit src version; - minimumOCamlVersion = "4.08"; - - useDune2 = true; - - strictDeps = true; + minimalOCamlVersion = "4.08"; + duneVersion = "3"; nativeBuildInputs = [ menhir