2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, camlp4 }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "lwt_camlp4";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "unstable-2018-03-25";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocsigen";
|
|
|
|
repo = pname;
|
|
|
|
rev = "45f25a081e01071ab566924b48ba5f7553bb33ac";
|
|
|
|
sha256 = "1lv8z6ljfy47yvxmwf5jrvc5d3dc90r1n291x53j161sf22ddrk9";
|
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
useDune2 = false;
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.02";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ camlp4 ];
|
|
|
|
|
|
|
|
preBuild = "rm META.lwt_camlp4";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Camlp4 syntax extension for Lwt (deprecated)";
|
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|