ocamlPackages.earlybird: 0.1.5 → 1.1.0

This commit is contained in:
Vincent Laporte 2021-04-12 21:59:52 +02:00 committed by Vincent Laporte
parent 95341f082c
commit d2caa11ce0

View File

@ -1,25 +1,25 @@
{ lib, fetchurl, ocaml, buildDunePackage, angstrom, angstrom-lwt-unix, { lib, fetchurl, ocaml, buildDunePackage
batteries, cmdliner, lwt_ppx, ocaml_lwt, ppx_deriving_yojson, , cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, path_glob, ppx_deriving_yojson
ppx_tools_versioned, 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}" then throw "earlybird is not available for OCaml ${ocaml.version}"
else else
buildDunePackage rec { buildDunePackage rec {
pname = "earlybird"; pname = "earlybird";
version = "0.1.5"; version = "1.1.0";
useDune2 = true; useDune2 = true;
minimumOCamlVersion = "4.04"; minimumOCamlVersion = "4.11";
src = fetchurl { src = fetchurl {
url = "https://github.com/hackwaly/ocamlearlybird/releases/download/${version}/${pname}-${version}.tbz"; 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 = { meta = {
homepage = "https://github.com/hackwaly/ocamlearlybird"; homepage = "https://github.com/hackwaly/ocamlearlybird";