depot/third_party/nixpkgs/pkgs/development/ocaml-modules/react/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

26 lines
740 B
Nix

{ lib, stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:
stdenv.mkDerivation rec {
pname = "ocaml-react";
version = "1.2.1";
src = fetchurl {
url = "https://erratique.ch/software/react/releases/react-${version}.tbz";
sha256 = "1aj8w79gdd9xnrbz7s5p8glcb4pmimi8jp9f439dqnf6ih3mqb3v";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
buildInputs = [ topkg ];
strictDeps = true;
inherit (topkg) buildPhase installPhase;
meta = with 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 ];
};
}