2017-10-05 06:57:03 +01:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, lwt, react }:
|
2017-07-02 12:39:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0.1";
|
|
|
|
name = "ocaml${ocaml.version}-lwt_react-${version}";
|
|
|
|
src = fetchzip {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-1.0.1.tar.gz";
|
2017-07-02 12:39:53 +01:00
|
|
|
sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
|
2017-10-05 06:57:03 +01:00
|
|
|
propagatedBuildInputs = [ lwt react ];
|
2017-07-02 12:39:53 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Helpers for using React with Lwt";
|
2018-11-05 10:21:46 +00:00
|
|
|
inherit (lwt.meta) homepage license maintainers;
|
|
|
|
inherit (ocaml.meta) platforms;
|
2017-07-02 12:39:53 +01:00
|
|
|
};
|
|
|
|
}
|