Unverified Commit 89fd9025 authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.ocamlformat: 0.27.0 → 0.28.1

parent ca97f8b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
{
  lib,
  fetchurl,
  version ? "0.27.0",
  version ? "0.28.1",
  astring,
  base,
  camlp-streams,
@@ -48,6 +48,7 @@ rec {
        "0.26.1" = "sha256-2gBuQn8VuexhL7gI1EZZm9m3w+4lq+s9VVdHpw10xtc=";
        "0.26.2" = "sha256-Lk9Za/eqNnqET+g7oPawvxSyplF53cCCNj/peT0DdcU=";
        "0.27.0" = "sha256-3b9ITAdtCPmUAO6Et5DsIx9cj8vV0zJKZADVOI6EbRU=";
        "0.28.1" = "sha256-cL2gN9C+2WHtkb21GYsu7vVCREdQqLAV2AzLlLP/Qfs=";
      }
      ."${version}";
  };
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ lib.throwIf
    || lib.versionAtLeast ocaml.version "5.1" && !lib.versionAtLeast version "0.25"
    || lib.versionAtLeast ocaml.version "5.2" && !lib.versionAtLeast version "0.26.2"
    || lib.versionAtLeast ocaml.version "5.3" && !lib.versionAtLeast version "0.27"
    || lib.versionAtLeast ocaml.version "5.4" && !lib.versionAtLeast version "0.28"
  )
  "ocamlformat ${version} is not available for OCaml ${ocaml.version}"

+1 −0
Original line number Diff line number Diff line
@@ -5271,6 +5271,7 @@ with pkgs;
  inherit (ocamlPackages)
    ocamlformat # latest version
    ocamlformat_0_27_0
    ocamlformat_0_28_1
    ;

  inherit (ocamlPackages) odig;
+1 −0
Original line number Diff line number Diff line
@@ -1473,6 +1473,7 @@ let
        ocamlformat_0_26_1 = ocamlformat.override { version = "0.26.1"; };
        ocamlformat_0_26_2 = ocamlformat.override { version = "0.26.2"; };
        ocamlformat_0_27_0 = ocamlformat.override { version = "0.27.0"; };
        ocamlformat_0_28_1 = ocamlformat.override { version = "0.28.1"; };

        ocamlformat = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat.nix { };