diff options
Diffstat (limited to 'pkgs/development/tools/ocaml/dune/3.nix')
-rw-r--r-- | pkgs/development/tools/ocaml/dune/3.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/tools/ocaml/dune/3.nix b/pkgs/development/tools/ocaml/dune/3.nix index 7c305012c57ea..06d2323af7cdd 100644 --- a/pkgs/development/tools/ocaml/dune/3.nix +++ b/pkgs/development/tools/ocaml/dune/3.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, ocaml, findlib, darwin }: +{ lib, stdenv, fetchurl, ocaml, findlib, darwin, ocaml-lsp }: if lib.versionOlder ocaml.version "4.08" then throw "dune 3 is not available for OCaml ${ocaml.version}" @@ -6,17 +6,17 @@ else stdenv.mkDerivation rec { pname = "dune"; - version = "3.6.2"; + version = "3.7.0"; src = fetchurl { url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz"; - sha256 = "sha256-ttSrhI77BKoqMl0AFdMu1EFO1xMOx6oS+YFY7/RFzzw="; + sha256 = "sha256-4tY3ydCAMY/t9ecdKin7NnYk+CrEom6D3ys6A1UFKLg="; }; nativeBuildInputs = [ ocaml findlib ]; buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Foundation + darwin.apple_sdk.frameworks.CoreServices ]; strictDeps = true; @@ -29,6 +29,10 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=${placeholder "out"}" "LIBDIR=$(OCAMLFIND_DESTDIR)" ]; + passthru.tests = { + inherit ocaml-lsp; + }; + meta = { homepage = "https://dune.build/"; description = "A composable build system"; |