nixpkgs/pkgs/development/ocaml-modules/react/default.nix

24 lines
687 B
Nix
Raw Normal View History

2017-12-14 07:36:29 +00:00
{ stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:
stdenv.mkDerivation {
2017-10-05 06:57:03 +01:00
name = "ocaml-react-1.2.1";
src = fetchurl {
2017-10-05 06:57:03 +01:00
url = http://erratique.ch/software/react/releases/react-1.2.1.tbz;
sha256 = "1aj8w79gdd9xnrbz7s5p8glcb4pmimi8jp9f439dqnf6ih3mqb3v";
};
2014-04-23 16:00:50 +01:00
unpackCmd = "tar xjf $src";
2017-12-14 07:36:29 +00:00
buildInputs = [ ocaml findlib topkg ocamlbuild ];
2017-10-05 06:57:03 +01:00
inherit (topkg) buildPhase installPhase;
2014-04-23 16:00:50 +01:00
meta = with stdenv.lib; {
homepage = http://erratique.ch/software/react;
description = "Applicative events and signals for OCaml";
2014-04-23 16:00:50 +01:00
license = licenses.bsd3;
platforms = ocaml.meta.platforms or [];
2014-06-07 20:33:04 +01:00
maintainers = with maintainers; [ z77z vbmithr gal_bolle];
};
}