Skip to content

Commit

Permalink
ocamlPackages.dap: init at 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Apr 19, 2021
1 parent 213fced commit cdff996
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/ocaml-modules/dap/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ 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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ let

ctypes = callPackage ../development/ocaml-modules/ctypes { };

dap = callPackage ../development/ocaml-modules/dap { };

decompress = callPackage ../development/ocaml-modules/decompress { };

diet = callPackage ../development/ocaml-modules/diet { };
Expand Down

0 comments on commit cdff996

Please sign in to comment.