evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / cfstream / default.nix
blobe5de1b6485348973ba5823dc8da581ccb3afc874
1 { lib, buildDunePackage, fetchFromGitHub, m4, camlp-streams, core_kernel, ounit }:
3 buildDunePackage rec {
4   pname = "cfstream";
5   version = "1.3.2";
7   minimalOCamlVersion = "4.08";
9   src = fetchFromGitHub {
10     owner = "biocaml";
11     repo   = pname;
12     rev    = version;
13     hash = "sha256-iSg0QsTcU0MT/Cletl+hW6bKyH0jkp7Jixqu8H59UmQ=";
14   };
16   patches = [ ./git_commit.patch ./janestreet-0.17.patch ];
18   nativeBuildInputs = [ m4 ];
19   checkInputs = [ ounit ];
20   propagatedBuildInputs = [ camlp-streams core_kernel ];
22   doCheck = true;
24   meta = with lib; {
25     inherit (src.meta) homepage;
26     description = "Simple Core-inspired wrapper for standard library Stream module";
27     maintainers = [ maintainers.bcdarwin ];
28     license = licenses.lgpl21;
29   };