nixpkgs/pkgs/development/ocaml-modules/faraday/default.nix
Vincent Laporte 2cde1a89b6
ocamlPackages.farfadet: 0.2 -> 0.3
ocamlPackages.faraday: 0.5.0 -> 0.7.0
2019-04-06 14:44:26 +00:00

26 lines
635 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";
version = "0.7.0";
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2";
};
buildInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf ];
doCheck = true;
meta = {
description = "Serialization library built for speed and memory efficiency";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}