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

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
wip/yesman
Antonio Nuno Monteiro 3 years ago committed by Vincent Laporte
parent 9334a29720
commit 6a0b9d6992
  1. 14
      pkgs/development/ocaml-modules/faraday/async.nix
  2. 12
      pkgs/development/ocaml-modules/faraday/lwt-unix.nix
  3. 12
      pkgs/development/ocaml-modules/faraday/lwt.nix
  4. 6
      pkgs/top-level/ocaml-packages.nix

@ -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";
};
}

@ -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";
};
}

@ -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";
};
}

@ -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 { };

Loading…
Cancel
Save