depot/third_party/nixpkgs/pkgs/development/ocaml-modules/faraday/async.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

19 lines
576 B
Nix

{ buildDunePackage, lib, fetchpatch, faraday, core, async }:
buildDunePackage rec {
pname = "faraday-async";
inherit (faraday) version src;
patches = lib.optional (lib.versionAtLeast async.version "0.15") (fetchpatch {
url = "https://github.com/inhabitedtype/faraday/commit/31c3fc7f91ecca0f1deea10b40fd5e33bcd35f75.patch";
sha256 = "05z5gk7hxq7qvwg6f73hdhfcnx19p1dq6wqh8prx667y8zsaq2zj";
});
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [ faraday core async ];
meta = faraday.meta // {
description = "Async support for Faraday";
};
}