diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 11:39:53 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 11:59:18 +0000 |
commit | ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d (patch) | |
tree | a7818e442e75154064c73405250d39b3bb0a0cf3 /pkgs/development/ocaml-modules/lwt_react | |
parent | d3a29b393a45b63815d0e3374ec0cf9f54200ef9 (diff) |
ocamlPackages.lwt_react: init at 1.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt_react')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt_react/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt_react/default.nix b/pkgs/development/ocaml-modules/lwt_react/default.nix new file mode 100644 index 0000000000000..022a60dcc66f6 --- /dev/null +++ b/pkgs/development/ocaml-modules/lwt_react/default.nix @@ -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; + }; +} |