2021-01-11 13:14:57 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, m4, core_kernel, ounit }:
|
2019-11-25 15:53:35 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "cfstream";
|
2020-01-30 22:04:54 +00:00
|
|
|
version = "1.3.1";
|
2019-11-25 15:53:35 +00:00
|
|
|
|
2020-12-08 20:50:08 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-11-25 15:53:35 +00:00
|
|
|
minimumOCamlVersion = "4.04.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "biocaml";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-01-30 22:04:54 +00:00
|
|
|
sha256 = "0qnxfp6y294gjsccx7ksvwn9x5q20hi8sg24rjypzsdkmlphgdnd";
|
2019-11-25 15:53:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./git_commit.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ m4 ];
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
propagatedBuildInputs = [ core_kernel ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-25 15:53:35 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Simple Core-inspired wrapper for standard library Stream module";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|