Upgraded omake to 0.9.8.6_rc1. kept the previous version as default because this is a rc1.

This is necessary to compile the latest camlimages
This commit is contained in:
Christophe Raffalli 2013-06-04 20:33:31 +02:00
parent b3fa714f1f
commit 87e1089498
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{stdenv, fetchurl, makeWrapper, ocaml, ncurses}:
let
pname = "omake";
version = "0.9.8.6-0.rc1";
webpage = "http://omake.metaprl.org";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "${webpage}/downloads/${pname}-${version}.tar.gz";
sha256 = "1sas02pbj56m7wi5vf3vqrrpr4ynxymw2a8ybvfj2dkjf7q9ii13";
};
patchFlags = "-p0";
patches = [ ./warn.patch ];
buildInputs = [ ocaml makeWrapper ncurses ];
phases = "unpackPhase patchPhase buildPhase";
buildPhase = ''
make bootstrap
make PREFIX=$out all
make PREFIX=$out install
'';
# prefixKey = "-prefix ";
#
# configureFlags = if transitional then "--transitional" else "--strict";
#
# buildFlags = "world.opt";
meta = {
description = "Omake build system";
homepage = "${webpage}";
license = "GPL";
};
}

View File

@ -3385,6 +3385,7 @@ let
noweb = callPackage ../development/tools/literate-programming/noweb { };
omake = callPackage ../development/tools/ocaml/omake { };
omake_rc1 = callPackage ../development/tools/ocaml/omake/0.9.8.6-rc1.nix { };
openocd = callPackage ../development/tools/misc/openocd { };