Loading pkgs/development/ocaml-modules/ocaml-lsp/jsonrpc.nix +7 −3 Original line number Diff line number Diff line Loading @@ -12,17 +12,21 @@ let params = if lib.versionAtLeast ocaml.version "4.14" then { version = "1.11.3"; sha256 = "sha256-KlMFh05O04I0Xil2B+nL2hUxZw0jaDMUnI23oUwGyhs="; name = "lsp"; version = "1.12.4"; sha256 = "sha256-kZuYAny8VjWdq+ipEdPSTRcGzqjNBOgXOi0dOwb52EY="; } else if lib.versionAtLeast ocaml.version "4.13" then { name = "jsonrpc"; version = "1.10.5"; sha256 = "sha256-TeJS6t1ruWhWPvWNatrnSUWI6T17XKiosHLYizBDDcw="; } else if lib.versionAtLeast ocaml.version "4.12" then { name = "jsonrpc"; version = "1.9.0"; sha256 = "sha256:1ac44n6g3rf84gvhcca545avgf9vpkwkkkm0s8ipshfhp4g4jikh"; } else { name = "jsonrpc"; version = "1.4.1"; sha256 = "1ssyazc0yrdng98cypwa9m3nzfisdzpp7hqnx684rqj8f0g3gs6f"; } Loading @@ -32,7 +36,7 @@ buildDunePackage rec { pname = "jsonrpc"; inherit (params) version; src = fetchurl { url = "https://github.com/ocaml/ocaml-lsp/releases/download/${version}/jsonrpc-${version}.tbz"; url = "https://github.com/ocaml/ocaml-lsp/releases/download/${version}/${params.name}-${version}.tbz"; inherit (params) sha256; }; Loading pkgs/development/ocaml-modules/ocaml-lsp/lsp.nix +17 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ , dyn , re , stdune , chrome-trace , dune_3 , csexp , pp Loading Loading @@ -40,7 +41,22 @@ buildDunePackage rec { ''; buildInputs = if lib.versionAtLeast version "1.10.0" then if lib.versionAtLeast version "1.12.0" then [ pp re ppx_yojson_conv_lib octavius dune-build-info dune-rpc omd cmdliner ocamlformat-rpc-lib dyn stdune chrome-trace ] else if lib.versionAtLeast version "1.10.0" then [ pp re Loading Loading
pkgs/development/ocaml-modules/ocaml-lsp/jsonrpc.nix +7 −3 Original line number Diff line number Diff line Loading @@ -12,17 +12,21 @@ let params = if lib.versionAtLeast ocaml.version "4.14" then { version = "1.11.3"; sha256 = "sha256-KlMFh05O04I0Xil2B+nL2hUxZw0jaDMUnI23oUwGyhs="; name = "lsp"; version = "1.12.4"; sha256 = "sha256-kZuYAny8VjWdq+ipEdPSTRcGzqjNBOgXOi0dOwb52EY="; } else if lib.versionAtLeast ocaml.version "4.13" then { name = "jsonrpc"; version = "1.10.5"; sha256 = "sha256-TeJS6t1ruWhWPvWNatrnSUWI6T17XKiosHLYizBDDcw="; } else if lib.versionAtLeast ocaml.version "4.12" then { name = "jsonrpc"; version = "1.9.0"; sha256 = "sha256:1ac44n6g3rf84gvhcca545avgf9vpkwkkkm0s8ipshfhp4g4jikh"; } else { name = "jsonrpc"; version = "1.4.1"; sha256 = "1ssyazc0yrdng98cypwa9m3nzfisdzpp7hqnx684rqj8f0g3gs6f"; } Loading @@ -32,7 +36,7 @@ buildDunePackage rec { pname = "jsonrpc"; inherit (params) version; src = fetchurl { url = "https://github.com/ocaml/ocaml-lsp/releases/download/${version}/jsonrpc-${version}.tbz"; url = "https://github.com/ocaml/ocaml-lsp/releases/download/${version}/${params.name}-${version}.tbz"; inherit (params) sha256; }; Loading
pkgs/development/ocaml-modules/ocaml-lsp/lsp.nix +17 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ , dyn , re , stdune , chrome-trace , dune_3 , csexp , pp Loading Loading @@ -40,7 +41,22 @@ buildDunePackage rec { ''; buildInputs = if lib.versionAtLeast version "1.10.0" then if lib.versionAtLeast version "1.12.0" then [ pp re ppx_yojson_conv_lib octavius dune-build-info dune-rpc omd cmdliner ocamlformat-rpc-lib dyn stdune chrome-trace ] else if lib.versionAtLeast version "1.10.0" then [ pp re Loading