2015-09-06 21:15:10 +02:00
|
|
|
{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
|
2014-01-31 06:44:42 +01:00
|
|
|
ocamlmod, ocamlify, ounit, expect}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-05-04 19:12:20 +02:00
|
|
|
name = "ocaml-oasis-0.4.6";
|
2014-01-31 06:44:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-04 19:12:20 +02:00
|
|
|
url = http://forge.ocamlcore.org/frs/download.php/1604/oasis-0.4.6.tar.gz;
|
|
|
|
sha256 = "1yxv3ckkf87nz0cyll0yy1kd295j5pv3jqwkfrr1y65wkz5vw90k";
|
2014-01-31 06:44:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[
|
2015-09-06 21:15:10 +02:00
|
|
|
ocaml findlib type_conv ocamlmod ocamlify ounit camlp4
|
2014-01-31 06:44:42 +01:00
|
|
|
];
|
|
|
|
|
2015-09-06 21:15:10 +02:00
|
|
|
propagatedBuildInputs = [ ocaml_data_notation ];
|
2014-06-07 22:38:47 +02:00
|
|
|
|
2014-01-31 06:44:42 +01:00
|
|
|
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
|
|
|
buildPhase = "ocaml setup.ml -build";
|
|
|
|
installPhase = "ocaml setup.ml -install";
|
|
|
|
|
2014-10-10 17:02:50 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-01-31 06:44:42 +01:00
|
|
|
homepage = http://oasis.forge.ocamlcore.org/;
|
|
|
|
description = "Configure, build and install system for OCaml projects";
|
2014-10-10 17:02:50 +02:00
|
|
|
license = licenses.lgpl21;
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-10-10 17:02:50 +02:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
vbgl z77z
|
2014-01-31 06:44:42 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|