2016-10-08 07:44:25 +01:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4
|
|
|
|
, ocaml_data_notation, type_conv, ocamlmod, ocamlify, ounit, expect
|
|
|
|
}:
|
2016-09-14 07:05:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-oasis-0.4.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://forge.ocamlcore.org/frs/download.php/1604/oasis-0.4.6.tar.gz;
|
|
|
|
sha256 = "1yxv3ckkf87nz0cyll0yy1kd295j5pv3jqwkfrr1y65wkz5vw90k";
|
|
|
|
};
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[
|
2016-10-08 07:44:25 +01:00
|
|
|
ocaml findlib ocamlbuild type_conv ocamlmod ocamlify ounit camlp4
|
2016-09-14 07:05:53 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocaml_data_notation ];
|
|
|
|
|
|
|
|
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
|
|
|
buildPhase = "ocaml setup.ml -build";
|
|
|
|
installPhase = "ocaml setup.ml -install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://oasis.forge.ocamlcore.org/;
|
|
|
|
description = "Configure, build and install system for OCaml projects";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = ocaml.meta.platforms or [];
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
vbgl z77z
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|