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

26 lines
730 B
Nix
Raw Normal View History

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