2019-10-11 06:02:16 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
|
2017-12-05 18:16:19 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "faraday";
|
2022-10-20 17:56:13 +00:00
|
|
|
version = "0.8.2";
|
2020-11-22 08:25:35 +00:00
|
|
|
|
2022-10-20 17:56:13 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2017-12-05 18:16:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2017-12-05 18:16:19 +00:00
|
|
|
rev = version;
|
2022-10-20 17:56:13 +00:00
|
|
|
sha256 = "sha256-wR4kDocR1t3OLRuudXH8IccYde552O6Gvo5BHNxRbAI=";
|
2017-12-05 18:16:19 +00:00
|
|
|
};
|
|
|
|
|
2022-03-01 15:42:22 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2019-04-06 14:37:32 +00:00
|
|
|
propagatedBuildInputs = [ bigstringaf ];
|
2022-10-20 17:56:13 +00:00
|
|
|
doCheck = true;
|
2017-12-05 18:16:19 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Serialization library built for speed and memory efficiency";
|
2019-04-06 14:37:32 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2017-12-05 18:16:19 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|