mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
ocamlPackages.lwt_react: init at 1.0.1
This commit is contained in:
parent
d3a29b393a
commit
ca15a36d0e
21
pkgs/development/ocaml-modules/lwt_react/default.nix
Normal file
21
pkgs/development/ocaml-modules/lwt_react/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user