summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/react/default.nix
blob: 02bba95405d55ad93bfed06fa7c82897262cc560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:

stdenv.mkDerivation {
  name = "ocaml-react-1.2.1";

  src = fetchurl {
    url = "https://erratique.ch/software/react/releases/react-1.2.1.tbz";
    sha256 = "1aj8w79gdd9xnrbz7s5p8glcb4pmimi8jp9f439dqnf6ih3mqb3v";
  };

  buildInputs = [ ocaml findlib topkg ocamlbuild ];

  inherit (topkg) buildPhase installPhase;

  meta = with stdenv.lib; {
    homepage = "https://erratique.ch/software/react";
    description = "Applicative events and signals for OCaml";
    license = licenses.bsd3;
    platforms = ocaml.meta.platforms or [];
    maintainers = with maintainers; [ maggesi vbmithr gal_bolle];
  };
}