2019-04-06 16:37:32 +02:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:
|
2017-12-05 19:16:19 +01:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "faraday";
|
2019-04-06 16:37:32 +02:00
|
|
|
version = "0.7.0";
|
2017-12-05 19:16:19 +01:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2017-12-05 19:16:19 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inhabitedtype";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = pname;
|
2017-12-05 19:16:19 +01:00
|
|
|
rev = version;
|
2019-04-06 16:37:32 +02:00
|
|
|
sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2";
|
2017-12-05 19:16:19 +01:00
|
|
|
};
|
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildInputs = [ alcotest ];
|
2019-04-06 16:37:32 +02:00
|
|
|
propagatedBuildInputs = [ bigstringaf ];
|
2017-12-05 19:16:19 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Serialization library built for speed and memory efficiency";
|
2019-04-06 16:37:32 +02:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2017-12-05 19:16:19 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|