summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/extlib
diff options
context:
space:
mode:
authorVincent Laporte <vincent.laporte@gmail.com>2014-07-06 17:41:40 +0200
committerMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:44:16 +0400
commitf439cc7cf6f989e79cfdb8bab90b51737da23e1a (patch)
treeed4c7ca0229526f3ed1c41f851162a04e8ff3dab /pkgs/development/ocaml-modules/extlib
parent15ec9bdebac0fb192bc293a539495ba13234ce13 (diff)
downloadnixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.tar
nixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.tar.gz
nixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.tar.bz2
nixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.tar.lz
nixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.tar.xz
nixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.tar.zst
nixpkgs-f439cc7cf6f989e79cfdb8bab90b51737da23e1a.zip
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/
Diffstat (limited to 'pkgs/development/ocaml-modules/extlib')
-rw-r--r--pkgs/development/ocaml-modules/extlib/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/extlib/default.nix b/pkgs/development/ocaml-modules/extlib/default.nix
index 8b977dd7c52..7bc7e398948 100644
--- a/pkgs/development/ocaml-modules/extlib/default.nix
+++ b/pkgs/development/ocaml-modules/extlib/default.nix
@@ -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/;