Skip to content

Commit

Permalink
ocamlPackages.earlybird: 0.1.5 → 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Apr 19, 2021
1 parent 95341f0 commit d2caa11
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/development/ocaml-modules/earlybird/default.nix
@@ -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";
Expand Down

0 comments on commit d2caa11

Please sign in to comment.