13 pname = "ocaml${ocaml.version}-seq";
16 license = lib.licenses.lgpl21;
17 maintainers = [ lib.maintainers.vbgl ];
18 homepage = "https://github.com/c-cube/seq";
19 inherit (ocaml.meta) platforms;
24 if lib.versionOlder ocaml.version "4.07" then
27 src = fetchFromGitHub {
31 sha256 = "1cjpsc7q76yfgq9iyvswxgic4kfq2vcqdlmxjdjgd4lx87zvcwrv";
41 createFindlibDestdir = true;
43 meta.description = "Compatibility package for OCaml’s standard iterator type starting from 4.07";
54 mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/seq
55 cp META $out/lib/ocaml/${ocaml.version}/site-lib/seq
58 meta.description = "dummy backward-compatibility package for iterators";