Adds javalib and sawja

Javalib is a library that parses Java .class files into OCaml data
structures. Sawja is a library written in OCaml, relying on Javalib to
provide a high level representation of Java bytecode programs.

Homepage: http://sawja.inria.fr/
This commit is contained in:
Vincent Laporte
2014-07-06 17:41:40 +02:00
committed by Michael Raskin
parent 15ec9bdeba
commit f439cc7cf6
8 changed files with 125 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib}:
{stdenv, fetchurl, ocaml, findlib, minimal ? true}:
stdenv.mkDerivation {
name = "ocaml-extlib-1.6.1";
@@ -14,8 +14,8 @@ stdenv.mkDerivation {
configurePhase = "true"; # Skip configure
# De facto, option minimal=1 seems to be the default. See the README.
buildPhase = "make minimal=1 build";
installPhase = "make minimal=1 install";
buildPhase = "make ${if minimal then "minimal=1" else ""} build";
installPhase = "make ${if minimal then "minimal=1" else ""} install";
meta = {
homepage = http://code.google.com/p/ocaml-extlib/;