ocamlPackages.faraday: 0.8.1 → 0.8.2
This commit is contained in:
parent
8e6ec9fc8f
commit
94d8b98b7e
|
@ -1,17 +1,12 @@
|
||||||
{ buildDunePackage, lib, fetchpatch, faraday, core, async }:
|
{ buildDunePackage, lib, faraday, core_unix, async }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "faraday-async";
|
pname = "faraday-async";
|
||||||
inherit (faraday) version src;
|
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";
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
propagatedBuildInputs = [ faraday core async ];
|
propagatedBuildInputs = [ faraday core_unix async ];
|
||||||
|
|
||||||
meta = faraday.meta // {
|
meta = faraday.meta // {
|
||||||
description = "Async support for Faraday";
|
description = "Async support for Faraday";
|
||||||
|
|
|
@ -2,22 +2,20 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "faraday";
|
pname = "faraday";
|
||||||
version = "0.8.1";
|
version = "0.8.2";
|
||||||
|
|
||||||
useDune2 = true;
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "inhabitedtype";
|
owner = "inhabitedtype";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-eeR+nst/r2iFxCDmRS+LGr3yl/o27DcsS30YAu1GJmc=";
|
sha256 = "sha256-wR4kDocR1t3OLRuudXH8IccYde552O6Gvo5BHNxRbAI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
propagatedBuildInputs = [ bigstringaf ];
|
propagatedBuildInputs = [ bigstringaf ];
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Serialization library built for speed and memory efficiency";
|
description = "Serialization library built for speed and memory efficiency";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "faraday-lwt-unix";
|
pname = "faraday-lwt-unix";
|
||||||
inherit (faraday) version src useDune2 minimumOCamlVersion;
|
inherit (faraday) version src;
|
||||||
|
|
||||||
propagatedBuildInputs = [ lwt faraday-lwt ];
|
propagatedBuildInputs = [ lwt faraday-lwt ];
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "faraday-lwt";
|
pname = "faraday-lwt";
|
||||||
inherit (faraday) version src useDune2 minimumOCamlVersion;
|
inherit (faraday) version src;
|
||||||
|
|
||||||
propagatedBuildInputs = [ faraday lwt ];
|
propagatedBuildInputs = [ faraday lwt ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue