nixpkgs/pkgs/development/ocaml-modules/faraday/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
696 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";
2022-03-24 14:50:56 +01:00
version = "0.8.1";
2020-11-22 09:25:35 +01:00
useDune2 = true;
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
2022-03-24 14:50:56 +01:00
sha256 = "sha256-eeR+nst/r2iFxCDmRS+LGr3yl/o27DcsS30YAu1GJmc=";
};
2020-11-22 09:25:35 +01:00
checkInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf ];
2022-08-23 08:04:50 +02:00
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
description = "Serialization library built for speed and memory efficiency";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}