Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
621 B · 29 lines
Nix
123456789101112131415161718192021222324252627282930{ 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";}