2014-09-23 00:24:28 +02:00
|
|
|
{stdenv, fetchurl, ocaml, findlib}:
|
2014-01-31 06:44:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocamlify-0.0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://forge.ocamlcore.org/frs/download.php/1209/ocamlify-0.0.2.tar.gz;
|
|
|
|
sha256 = "1f0fghvlbfryf5h3j4as7vcqrgfjb4c8abl5y0y5h069vs4kp5ii";
|
|
|
|
};
|
|
|
|
|
2014-09-23 00:24:28 +02:00
|
|
|
buildInputs = [ocaml findlib];
|
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";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://forge.ocamlcore.org/projects/ocamlmod/ocamlmod;
|
|
|
|
description = "Generate OCaml modules from source files";
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-01-31 06:44:42 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [
|
|
|
|
z77z
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|