depot/third_party/nixpkgs/pkgs/development/ocaml-modules/lwt_react/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

22 lines
627 B
Nix

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