mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
faraday-{lwt,lwt-unix,async}: add Faraday runtimes
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
This commit is contained in:
parent
9334a29720
commit
6a0b9d6992
14
pkgs/development/ocaml-modules/faraday/async.nix
Normal file
14
pkgs/development/ocaml-modules/faraday/async.nix
Normal 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";
|
||||
};
|
||||
}
|
12
pkgs/development/ocaml-modules/faraday/lwt-unix.nix
Normal file
12
pkgs/development/ocaml-modules/faraday/lwt-unix.nix
Normal 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";
|
||||
};
|
||||
}
|
12
pkgs/development/ocaml-modules/faraday/lwt.nix
Normal file
12
pkgs/development/ocaml-modules/faraday/lwt.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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…
Reference in New Issue
Block a user