Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.lwt_react: init at 1.0.1

+25
+21
pkgs/development/ocaml-modules/lwt_react/default.nix
··· 1 + { stdenv, fetchzip, ocaml, findlib, ocamlbuild, lwt, ocaml_react }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.0.1"; 5 + name = "ocaml${ocaml.version}-lwt_react-${version}"; 6 + src = fetchzip { 7 + url = https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-1.0.1.tar.gz; 8 + sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31"; 9 + }; 10 + 11 + buildInputs = [ ocaml findlib ocamlbuild ]; 12 + 13 + propagatedBuildInputs = [ lwt ocaml_react ]; 14 + 15 + createFindlibDestdir = true; 16 + 17 + meta = { 18 + description = "Helpers for using React with Lwt"; 19 + inherit (lwt.meta) homepage license maintainers platforms; 20 + }; 21 + }
+4
pkgs/top-level/ocaml-packages.nix
··· 308 308 } 309 309 else throw "lwt3 is not available for OCaml ${ocaml.version}"; 310 310 311 + lwt_react = callPackage ../development/ocaml-modules/lwt_react { 312 + lwt = lwt3; 313 + }; 314 + 311 315 macaque = callPackage ../development/ocaml-modules/macaque { }; 312 316 313 317 magic-mime = callPackage ../development/ocaml-modules/magic-mime { };