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.

28 lines
662 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";
2022-10-20 19:56:13 +02:00
version = "0.8.2";
2020-11-22 09:25:35 +01:00
2022-10-20 19:56:13 +02:00
minimalOCamlVersion = "4.08";
2023-04-10 14:14:07 +02:00
duneVersion = "3";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
2022-10-20 19:56:13 +02:00
sha256 = "sha256-wR4kDocR1t3OLRuudXH8IccYde552O6Gvo5BHNxRbAI=";
};
checkInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf ];
2022-10-20 19:56:13 +02:00
doCheck = true;
meta = {
description = "Serialization library built for speed and memory efficiency";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}