diff --git a/pkgs/development/ocaml-modules/ocaml-version/default.nix b/pkgs/development/ocaml-modules/ocaml-version/default.nix index 28f12046eaa..bbd85889c84 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";