ocamlPackages.lwt_react: init at 1.0.1

This commit is contained in:
Vincent Laporte 2017-07-02 11:39:53 +00:00
parent d3a29b393a
commit ca15a36d0e
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, lwt, ocaml_react }:
stdenv.mkDerivation rec {
version = "1.0.1";
name = "ocaml${ocaml.version}-lwt_react-${version}";
src = fetchzip {
url = https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-1.0.1.tar.gz;
sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31";
};
buildInputs = [ ocaml findlib ocamlbuild ];
propagatedBuildInputs = [ lwt ocaml_react ];
createFindlibDestdir = true;
meta = {
description = "Helpers for using React with Lwt";
inherit (lwt.meta) homepage license maintainers platforms;
};
}

View File

@ -308,6 +308,10 @@ let
}
else throw "lwt3 is not available for OCaml ${ocaml.version}";
lwt_react = callPackage ../development/ocaml-modules/lwt_react {
lwt = lwt3;
};
macaque = callPackage ../development/ocaml-modules/macaque { };
magic-mime = callPackage ../development/ocaml-modules/magic-mime { };