Add OCaml Oasis
OCaml Oasis is a configure/build/install system for OCaml proget (like Cabal for Haskell). This commit also add a few small dependencies that where missing - OCaml Data Notation (odn) - ocamlify - ocamlmod
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{stdenv, fetchurl, ocaml, findlib, ounit}:
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib ounit];
|
||||
|
||||
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";
|
||||
platforms = ocaml.meta.platforms;
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = with stdenv.lib.maintainers; [
|
||||
z77z
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user