depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dap/default.nix
Default email a97b1c8da0 Project import generated by Copybara.
GitOrigin-RevId: d235056d6d6dcbd2999bd55fd120d831d4df6304
2021-04-22 04:08:21 +02:00

35 lines
755 B
Nix

{ lib, buildDunePackage, fetchurl
, angstrom-lwt-unix, lwt, logs, lwt_ppx, ppx_deriving_yojson, ppx_expect, ppx_here, react
}:
buildDunePackage rec {
pname = "dap";
version = "1.0.6";
useDune2 = true;
src = fetchurl {
url = "https://github.com/hackwaly/ocaml-dap/releases/download/${version}/dap-${version}.tbz";
sha256 = "1zq0f8429m38a4x3h9n3rv7n1vsfjbs72pfi5902a89qwyilkcp0";
};
minimumOCamlVersion = "4.08";
buildInputs = [
lwt_ppx
];
propagatedBuildInputs = [
angstrom-lwt-unix
logs
lwt
ppx_deriving_yojson
ppx_expect
ppx_here
react
];
meta = {
description = "Debug adapter protocol";
homepage = "https://github.com/hackwaly/ocaml-dap";
license = lib.licenses.mit;
};
}