blob: 6c0dcd488b5ae8845f9323edcd2d2d1a8d97a053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
buildDunePackage,
fetchurl,
alcotest,
}:
buildDunePackage (finalAttrs: {
pname = "backoff";
version = "0.1.1";
src = fetchurl {
url = "https://github.com/ocaml-multicore/backoff/releases/download/${finalAttrs.version}/backoff-${finalAttrs.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";
})
|