faraday-{lwt,lwt-unix,async}: add Faraday runtimes

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
This commit is contained in:
Antonio Nuno Monteiro 2021-03-21 18:44:36 -07:00 committed by Vincent Laporte
parent 9334a29720
commit 6a0b9d6992
4 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ buildDunePackage, faraday, core, async }:
buildDunePackage rec {
pname = "faraday-async";
inherit (faraday) version src useDune2;
minimumOCamlVersion = "4.08";
propagatedBuildInputs = [ faraday core async ];
meta = faraday.meta // {
description = "Async support for Faraday";
};
}

View file

@ -0,0 +1,12 @@
{ buildDunePackage, faraday, faraday-lwt, lwt }:
buildDunePackage rec {
pname = "faraday-lwt-unix";
inherit (faraday) version src useDune2 minimumOCamlVersion;
propagatedBuildInputs = [ lwt faraday-lwt ];
meta = faraday.meta // {
description = "Lwt + Unix support for Faraday";
};
}

View file

@ -0,0 +1,12 @@
{ buildDunePackage, faraday, lwt }:
buildDunePackage rec {
pname = "faraday-lwt";
inherit (faraday) version src useDune2 minimumOCamlVersion;
propagatedBuildInputs = [ faraday lwt ];
meta = faraday.meta // {
description = "Lwt support for Faraday";
};
}

View file

@ -345,6 +345,12 @@ let
faraday = callPackage ../development/ocaml-modules/faraday { };
faraday-async = callPackage ../development/ocaml-modules/faraday/async.nix { };
faraday-lwt = callPackage ../development/ocaml-modules/faraday/lwt.nix { };
faraday-lwt-unix = callPackage ../development/ocaml-modules/faraday/lwt-unix.nix { };
farfadet = callPackage ../development/ocaml-modules/farfadet { };
fdkaac = callPackage ../development/ocaml-modules/fdkaac { };