1 { fetchFromGitHub, buildDunePackage, lwt, ppxlib }:
9 minimumOCamlVersion = "4.04";
11 # `lwt_ppx` has a different release cycle than Lwt, but it's included in
12 # one of its release bundles.
13 # Because there could exist an Lwt release _without_ a `lwt_ppx` release,
14 # this `src` field doesn't inherit from the Lwt derivation.
16 # This is particularly useful for overriding Lwt without breaking `lwt_ppx`,
17 # as new Lwt releases may contain broken `lwt_ppx` code.
18 src = fetchFromGitHub {
22 sha256 = "sha256-rRivROVbQbXkHWen1n8+9AwrRJaOK0Fhyilw29T7was=";
25 propagatedBuildInputs = [ lwt ppxlib ];
28 description = "Ppx syntax extension for Lwt";
29 inherit (lwt.meta) license homepage maintainers;