Update extlib to version 1.5.2

wip/yesman
Marco Maggesi 12 years ago committed by Eelco Dolstra
parent 29d3112ee9
commit c3e12acb5a
  1. 9
      pkgs/development/ocaml-modules/extlib/default.nix
  2. 12
      pkgs/development/ocaml-modules/extlib/hashtable-ocaml4-compat.patch

@ -4,11 +4,10 @@ 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";
url = http://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz;
sha256 = "c095eef4202a8614ff1474d4c08c50c32d6ca82d1015387785cf03d5913ec021";
};
patches = [ ./hashtable-ocaml4-compat.patch ];
buildInputs = [ocaml findlib];
createFindlibDestdir = true;
@ -19,9 +18,9 @@ stdenv.mkDerivation {
'';
meta = {
homepage = "http://code.google.com/p/ocaml-extlib/";
homepage = http://code.google.com/p/ocaml-extlib/;
description = "Enhancements to the OCaml Standard Library modules";
license = "LGPL";
license = stdenv.lib.licenses.lgpl21;
platforms = ocaml.meta.platforms;
};
}

@ -1,12 +0,0 @@
Revision 396 from the official extlib repository.
--- extlib/extHashtbl.ml (revision 395)
+++ extlib/extHashtbl.ml (working copy)
@@ -32,6 +32,7 @@
}
include Hashtbl
+ let create n = Hashtbl.create (* no seed *) n
external h_conv : ('a, 'b) t -> ('a, 'b) h_t = "%identity"
external h_make : ('a, 'b) h_t -> ('a, 'b) t = "%identity"
Loading…
Cancel
Save