mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
29 lines
697 B
Nix
29 lines
697 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "faraday";
|
|
version = "0.7.2";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inhabitedtype";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0gdysszzk6b6npic4nhpdnz2nbq7rma6aml0rbn113bfh0rmb36x";
|
|
};
|
|
|
|
checkInputs = [ alcotest ];
|
|
propagatedBuildInputs = [ bigstringaf ];
|
|
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;
|
|
};
|
|
}
|