summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/seq/default.nix
blob: e65441f3e0471bb323f3c02aa6a718c509503f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  stdenv,
  lib,
  ocaml,
}:

stdenv.mkDerivation {
  version = "0.1";
  pname = "ocaml${ocaml.version}-seq";

  meta = {
    license = lib.licenses.lgpl21;
    maintainers = [ lib.maintainers.vbgl ];
    homepage = "https://github.com/c-cube/seq";
    description = "Dummy backward-compatibility package for iterators";
    inherit (ocaml.meta) platforms;
  };

  src = ./src-base;

  dontBuild = true;

  installPhase = ''
    mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/seq
    cp META $out/lib/ocaml/${ocaml.version}/site-lib/seq
  '';

}