Loading pkgs/development/ocaml-modules/ocamlformat/generic.nix +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, Loading Loading @@ -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}"; }; Loading pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix +0 −3 Original line number Diff line number Diff line Loading @@ -17,9 +17,6 @@ buildDunePackage { pname = "ocamlformat-lib"; inherit src version; minimalOCamlVersion = "4.08"; duneVersion = "3"; nativeBuildInputs = [ menhir ]; propagatedBuildInputs = library_deps; Loading pkgs/development/ocaml-modules/ocamlformat/ocamlformat-rpc-lib.nix +0 −3 Original line number Diff line number Diff line Loading @@ -20,9 +20,6 @@ buildDunePackage { pname = "ocamlformat-rpc-lib"; inherit src version; minimalOCamlVersion = "4.08"; duneVersion = "3"; propagatedBuildInputs = [ csexp sexplib0 Loading pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix +2 −3 Original line number Diff line number Diff line Loading @@ -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 = [ Loading @@ -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"; }; } pkgs/top-level/all-packages.nix +1 −0 Original line number Diff line number Diff line Loading @@ -4600,6 +4600,7 @@ with pkgs; inherit (ocamlPackages) ocamlformat # latest version ocamlformat_0_28_1 ocamlformat_0_29_0 ; inherit (ocamlPackages) odig; Loading Loading
pkgs/development/ocaml-modules/ocamlformat/generic.nix +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, Loading Loading @@ -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}"; }; Loading
pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix +0 −3 Original line number Diff line number Diff line Loading @@ -17,9 +17,6 @@ buildDunePackage { pname = "ocamlformat-lib"; inherit src version; minimalOCamlVersion = "4.08"; duneVersion = "3"; nativeBuildInputs = [ menhir ]; propagatedBuildInputs = library_deps; Loading
pkgs/development/ocaml-modules/ocamlformat/ocamlformat-rpc-lib.nix +0 −3 Original line number Diff line number Diff line Loading @@ -20,9 +20,6 @@ buildDunePackage { pname = "ocamlformat-rpc-lib"; inherit src version; minimalOCamlVersion = "4.08"; duneVersion = "3"; propagatedBuildInputs = [ csexp sexplib0 Loading
pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix +2 −3 Original line number Diff line number Diff line Loading @@ -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 = [ Loading @@ -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"; }; }
pkgs/top-level/all-packages.nix +1 −0 Original line number Diff line number Diff line Loading @@ -4600,6 +4600,7 @@ with pkgs; inherit (ocamlPackages) ocamlformat # latest version ocamlformat_0_28_1 ocamlformat_0_29_0 ; inherit (ocamlPackages) odig; Loading