Merge staging-next into staging
This commit is contained in:
35
pkgs/development/ocaml-modules/dap/default.nix
Normal file
35
pkgs/development/ocaml-modules/dap/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -1,25 +1,25 @@
|
||||
{ lib, fetchurl, ocaml, buildDunePackage, angstrom, angstrom-lwt-unix,
|
||||
batteries, cmdliner, lwt_ppx, ocaml_lwt, ppx_deriving_yojson,
|
||||
ppx_tools_versioned, yojson }:
|
||||
{ lib, fetchurl, ocaml, buildDunePackage
|
||||
, cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, path_glob, ppx_deriving_yojson
|
||||
}:
|
||||
|
||||
if lib.versionAtLeast ocaml.version "4.08"
|
||||
if lib.versionAtLeast ocaml.version "4.13"
|
||||
then throw "earlybird is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "earlybird";
|
||||
version = "0.1.5";
|
||||
version = "1.1.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
minimumOCamlVersion = "4.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hackwaly/ocamlearlybird/releases/download/${version}/${pname}-${version}.tbz";
|
||||
sha256 = "10yflmsicw4sdmm075zjpbmxpwm9fvibnl3sl18zjpwnm6l9sv7d";
|
||||
sha256 = "1pwzhcr3pw24ra4j4d23vz71h0psz4xkyp7b12l2wl1slxzjbrxa";
|
||||
};
|
||||
|
||||
buildInputs = [ angstrom angstrom-lwt-unix batteries cmdliner lwt_ppx ocaml_lwt ppx_deriving_yojson ppx_tools_versioned yojson ];
|
||||
buildInputs = [ cmdliner dap fmt iter logs lru lwt_ppx lwt_react menhir path_glob ppx_deriving_yojson ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/hackwaly/ocamlearlybird";
|
||||
|
||||
17
pkgs/development/ocaml-modules/path_glob/default.nix
Normal file
17
pkgs/development/ocaml-modules/path_glob/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ lib, buildDunePackage, fetchurl }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "path_glob";
|
||||
version = "0.2";
|
||||
useDune2 = true;
|
||||
src = fetchurl {
|
||||
url = "https://gasche.gitlab.io/path_glob/releases/path_glob-${version}.tbz";
|
||||
sha256 = "01ra20bzjiihbgma74axsp70gqmid6x7jmiizg48mdkni0aa42ay";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://gitlab.com/gasche/path_glob";
|
||||
description = "Checking glob patterns on paths";
|
||||
license = lib.licenses.lgpl2Only;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user