Unverified Commit ddcb088c authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlformat: 0.28.1 → 0.29.0

parent 194a548e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{
  lib,
  ocaml,
  fetchurl,
  version ? "0.28.1",
  version ? if lib.versionAtLeast ocaml.version "4.14" then "0.29.0" else "0.28.1",
  astring,
  base,
  camlp-streams,
@@ -50,6 +51,7 @@ rec {
        "0.26.2" = "sha256-Lk9Za/eqNnqET+g7oPawvxSyplF53cCCNj/peT0DdcU=";
        "0.27.0" = "sha256-3b9ITAdtCPmUAO6Et5DsIx9cj8vV0zJKZADVOI6EbRU=";
        "0.28.1" = "sha256-cL2gN9C+2WHtkb21GYsu7vVCREdQqLAV2AzLlLP/Qfs=";
        "0.29.0" = "sha256-2sd/CpV654K7S4abB7mAOocqNPjB6uiQG0LSG2I8nbU=";
      }
      ."${version}";
  };
+0 −3
Original line number Diff line number Diff line
@@ -17,9 +17,6 @@ buildDunePackage {
  pname = "ocamlformat-lib";
  inherit src version;

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  nativeBuildInputs = [ menhir ];

  propagatedBuildInputs = library_deps;
+0 −3
Original line number Diff line number Diff line
@@ -20,9 +20,6 @@ buildDunePackage {
  pname = "ocamlformat-rpc-lib";
  inherit src version;

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  propagatedBuildInputs = [
    csexp
    sexplib0
+2 −3
Original line number Diff line number Diff line
@@ -17,8 +17,6 @@ buildDunePackage {
  pname = "ocamlformat";
  inherit src version;

  minimalOCamlVersion = "4.08";

  nativeBuildInputs = if lib.versionAtLeast version "0.25.1" then [ ] else [ menhir ];

  buildInputs = [
@@ -43,6 +41,7 @@ buildDunePackage {
      || 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";
      || lib.versionAtLeast ocaml.version "5.4" && !lib.versionAtLeast version "0.28"
      || lib.versionAtLeast version "0.29.0" && !lib.versionAtLeast ocaml.version "4.14";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -4605,6 +4605,7 @@ with pkgs;
  inherit (ocamlPackages)
    ocamlformat # latest version
    ocamlformat_0_28_1
    ocamlformat_0_29_0
    ;

  inherit (ocamlPackages) odig;
Loading