Files

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

30 lines
621 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildDunePackage,
fetchurl,
alcotest,
}:
buildDunePackage rec {
pname = "backoff";
version = "0.1.1";
src = fetchurl {
url = "https://github.com/ocaml-multicore/backoff/releases/download/${version}/backoff-${version}.tbz";
hash = "sha256-AL6jEbInsbwKVYedpNzjix/YRHtOTizxk6aVNzesnwM=";
};
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "Exponential backoff mechanism for OCaml";
homepage = "https://github.com/ocaml-multicore/backoff";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
minimalOCamlVersion = "4.12";
}