1 { lib, buildDunePackage, fetchFromGitHub, ocaml, m4, camlp-streams, core_kernel, ounit }:
7 minimalOCamlVersion = "4.04.1";
9 src = fetchFromGitHub {
13 hash = "sha256-iSg0QsTcU0MT/Cletl+hW6bKyH0jkp7Jixqu8H59UmQ=";
16 patches = [ ./git_commit.patch ./janestreet-0.16.patch ];
20 nativeBuildInputs = [ m4 ];
21 checkInputs = [ ounit ];
22 propagatedBuildInputs = [ camlp-streams core_kernel ];
24 doCheck = lib.versionAtLeast ocaml.version "4.08";
27 inherit (src.meta) homepage;
28 description = "Simple Core-inspired wrapper for standard library Stream module";
29 maintainers = [ maintainers.bcdarwin ];
30 license = licenses.lgpl21;