11 minimumSupportedOcamlVersion = "4.02.0";
13 assert lib.versionOlder minimumSupportedOcamlVersion ocaml.version;
15 stdenv.mkDerivation rec {
18 name = "ocaml${ocaml.version}-${pname}-${version}";
21 url = "http://erratique.ch/software/hmap/releases/${pname}-${version}.tbz";
22 sha256 = "10xyjy4ab87z7jnghy0wnla9wrmazgyhdwhr4hdmxxdn28dxn03a";
25 nativeBuildInputs = [ ocaml ocamlbuild findlib topkg ];
26 buildInputs = [ topkg ];
30 inherit (topkg) installPhase;
32 buildPhase = "${topkg.run} build --tests true";
36 checkPhase = "${topkg.run} test";
39 description = "Heterogeneous value maps for OCaml";
40 homepage = "https://erratique.ch/software/hmap";
41 license = lib.licenses.isc;
42 maintainers = [ lib.maintainers.pmahoney ];