mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
ocamlPackages.faraday-async: fix build with OCaml < 4.11
This commit is contained in:
parent
76262a80ae
commit
aaa1c973c8
1 changed files with 5 additions and 5 deletions
|
@ -1,15 +1,15 @@
|
||||||
{ buildDunePackage, fetchpatch, faraday, core, async }:
|
{ buildDunePackage, lib, fetchpatch, faraday, core, async }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "faraday-async";
|
pname = "faraday-async";
|
||||||
inherit (faraday) version src useDune2;
|
inherit (faraday) version src;
|
||||||
|
|
||||||
patches = fetchpatch {
|
patches = lib.optional (lib.versionAtLeast async.version "0.15") (fetchpatch {
|
||||||
url = "https://github.com/inhabitedtype/faraday/commit/31c3fc7f91ecca0f1deea10b40fd5e33bcd35f75.patch";
|
url = "https://github.com/inhabitedtype/faraday/commit/31c3fc7f91ecca0f1deea10b40fd5e33bcd35f75.patch";
|
||||||
sha256 = "05z5gk7hxq7qvwg6f73hdhfcnx19p1dq6wqh8prx667y8zsaq2zj";
|
sha256 = "05z5gk7hxq7qvwg6f73hdhfcnx19p1dq6wqh8prx667y8zsaq2zj";
|
||||||
};
|
});
|
||||||
|
|
||||||
minimumOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
propagatedBuildInputs = [ faraday core async ];
|
propagatedBuildInputs = [ faraday core async ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue