summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt_react
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-07-02 11:39:53 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-07-02 11:59:18 +0000
commitca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d (patch)
treea7818e442e75154064c73405250d39b3bb0a0cf3 /pkgs/development/ocaml-modules/lwt_react
parentd3a29b393a45b63815d0e3374ec0cf9f54200ef9 (diff)
downloadnixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.tar
nixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.tar.gz
nixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.tar.bz2
nixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.tar.lz
nixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.tar.xz
nixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.tar.zst
nixlib-ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d.zip
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.nix21
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 000000000000..022a60dcc66f
--- /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;
+	};
+}