diff --git a/pkgs/development/tools/ocaml/ocamlformat/default.nix b/pkgs/development/tools/ocaml/ocamlformat/default.nix index 7738139a65a7..da134562e32b 100644 --- a/pkgs/development/tools/ocaml/ocamlformat/default.nix +++ b/pkgs/development/tools/ocaml/ocamlformat/default.nix @@ -2,13 +2,15 @@ with ocamlPackages; buildDunePackage rec { pname = "ocamlformat"; - version = "0.13.0"; + version = "0.14.0"; minimumOCamlVersion = "4.06"; + useDune2 = true; + src = fetchurl { - url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/ocamlformat-${version}-2.tbz"; - sha256 = "0ki2flqi3xkhw9mfridivb6laxm7gml8rj9qz42vqmy9yx76jjxq"; + url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/ocamlformat-${version}.tbz"; + sha256 = "070c0x6z5y0lyls56zm34g8lyc093wkr0jfp50dvrkr9fk1sx2wi"; }; buildInputs = [ @@ -20,6 +22,8 @@ with ocamlPackages; buildDunePackage rec { stdio uuseg uutf + fix + menhir ]; meta = {