ocamlPackages.faraday: 0.8.1 → 0.8.2

This commit is contained in:
Vincent Laporte 2022-10-20 19:56:13 +02:00 committed by Vincent Laporte
parent 8e6ec9fc8f
commit 94d8b98b7e
4 changed files with 8 additions and 15 deletions

View File

@ -1,17 +1,12 @@
{ buildDunePackage, lib, fetchpatch, faraday, core, async }:
{ buildDunePackage, lib, faraday, core_unix, 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 ];
propagatedBuildInputs = [ faraday core_unix async ];
meta = faraday.meta // {
description = "Async support for Faraday";

View File

@ -2,22 +2,20 @@
buildDunePackage rec {
pname = "faraday";
version = "0.8.1";
version = "0.8.2";
useDune2 = true;
minimumOCamlVersion = "4.02";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "sha256-eeR+nst/r2iFxCDmRS+LGr3yl/o27DcsS30YAu1GJmc=";
sha256 = "sha256-wR4kDocR1t3OLRuudXH8IccYde552O6Gvo5BHNxRbAI=";
};
checkInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
doCheck = true;
meta = {
description = "Serialization library built for speed and memory efficiency";

View File

@ -2,7 +2,7 @@
buildDunePackage rec {
pname = "faraday-lwt-unix";
inherit (faraday) version src useDune2 minimumOCamlVersion;
inherit (faraday) version src;
propagatedBuildInputs = [ lwt faraday-lwt ];

View File

@ -2,7 +2,7 @@
buildDunePackage rec {
pname = "faraday-lwt";
inherit (faraday) version src useDune2 minimumOCamlVersion;
inherit (faraday) version src;
propagatedBuildInputs = [ faraday lwt ];