1 # Older version of extlib for Haxe 4.0 and 4.1.
2 # May be replaceable by the next extlib + extlib-base64 release.
3 { stdenv, lib, fetchurl, ocaml, findlib, cppo
4 # De facto, option minimal seems to be the default. See the README.
8 stdenv.mkDerivation rec {
9 pname = "ocaml${ocaml.version}-extlib";
13 url = "https://ygrek.org/p/release/ocaml-extlib/extlib-${version}.tar.gz";
14 sha256 = "1sxmzc1mx3kg62j8kbk0dxkx8mkf1rn70h542cjzrziflznap0s1";
17 nativeBuildInputs = [ ocaml findlib cppo ];
21 createFindlibDestdir = true;
23 makeFlags = lib.optional minimal "minimal=1";
26 homepage = "https://github.com/ygrek/ocaml-extlib";
27 description = "Enhancements to the OCaml Standard Library modules";
28 license = lib.licenses.lgpl21Only;
29 inherit (ocaml.meta) platforms;
30 maintainers = [ lib.maintainers.sternenseemann ];
31 broken = lib.versionAtLeast ocaml.version "4.12";