3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/faraday/default.nix

29 lines
697 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";
2020-11-22 08:25:35 +00:00
version = "0.7.2";
useDune2 = true;
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
2020-11-22 08:25:35 +00:00
sha256 = "0gdysszzk6b6npic4nhpdnz2nbq7rma6aml0rbn113bfh0rmb36x";
};
2020-11-22 08:25:35 +00:00
checkInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf ];
2020-11-22 08:25:35 +00:00
doCheck = lib.versionAtLeast ocaml.version "4.05";
meta = {
description = "Serialization library built for speed and memory efficiency";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}