Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
30 lines
621 B
Nix
30 lines
621 B
Nix
{
|
|
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";
|
|
}
|