Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 22 lines 666 B view raw
1{ stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }: 2 3stdenv.mkDerivation { 4 name = "ocaml-react-1.2.1"; 5 6 src = fetchurl { 7 url = "https://erratique.ch/software/react/releases/react-1.2.1.tbz"; 8 sha256 = "1aj8w79gdd9xnrbz7s5p8glcb4pmimi8jp9f439dqnf6ih3mqb3v"; 9 }; 10 11 buildInputs = [ ocaml findlib topkg ocamlbuild ]; 12 13 inherit (topkg) buildPhase installPhase; 14 15 meta = with stdenv.lib; { 16 homepage = "https://erratique.ch/software/react"; 17 description = "Applicative events and signals for OCaml"; 18 license = licenses.bsd3; 19 platforms = ocaml.meta.platforms or []; 20 maintainers = with maintainers; [ maggesi vbmithr gal_bolle]; 21 }; 22}