2012-01-16 11:20:13 +01:00
|
|
|
{stdenv, fetchurl, ocaml, findlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-extlib-1.5.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ocaml-extlib.googlecode.com/files/extlib-1.5.2.tar.gz";
|
|
|
|
sha256 = "ca6d69adeba4242ce41c02a23746ba1e464c0bbec66e2d16b02c3c6e85dc10aa";
|
|
|
|
};
|
|
|
|
|
2012-07-30 20:12:06 +02:00
|
|
|
patches = [ ./hashtable-ocaml4-compat.patch ];
|
2012-01-16 11:20:13 +01:00
|
|
|
buildInputs = [ocaml findlib];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2012-03-22 11:32:32 +01:00
|
|
|
buildPhase = ''
|
|
|
|
make all
|
|
|
|
make opt
|
|
|
|
'';
|
2012-01-16 11:20:13 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://code.google.com/p/ocaml-extlib/";
|
|
|
|
description = "Enhancements to the OCaml Standard Library modules";
|
|
|
|
license = "LGPL";
|
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|