mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
27 lines
702 B
Nix
27 lines
702 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "faraday";
|
|
version = "0.7.0";
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inhabitedtype";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2";
|
|
};
|
|
|
|
checkInputs = lib.optional doCheck alcotest;
|
|
propagatedBuildInputs = [ bigstringaf ];
|
|
doCheck = lib.versions.majorMinor ocaml.version != "4.07";
|
|
|
|
meta = {
|
|
description = "Serialization library built for speed and memory efficiency";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|