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

26 lines
730 B
Nix
Raw Normal View History

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