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

29 lines
779 B
Nix
Raw Normal View History

2014-01-31 00:10:20 +01:00
{stdenv, fetchurl, ocaml, findlib, ocaml_oasis}:
stdenv.mkDerivation {
2014-01-31 00:10:20 +01:00
name = "ocaml-react-0.9.4";
src = fetchurl {
2014-01-31 00:10:20 +01:00
url = http://github.com/dbuenzli/react/archive/v0.9.4.tar.gz;
sha256 = "16k0kx93kd45s7pigkzvirfsbr22xhby0y88y86p473qxzc6ngrm";
};
2014-01-31 00:10:20 +01:00
buildInputs = [ocaml findlib ocaml_oasis];
createFindlibDestdir = true;
2014-01-31 00:10:20 +01:00
configurePhase = "oasis setup && ocaml setup.ml -configure --prefix $out";
buildPhase = "ocaml setup.ml -build";
installPhase = "ocaml setup.ml -install";
meta = {
homepage = http://erratique.ch/software/react;
description = "Applicative events and signals for OCaml";
2014-01-31 00:10:20 +01:00
license = stdenv.lib.licenses.bsd3;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z
];
};
}