mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
ocamlPackages.backoff: init at 0.1.0
This commit is contained in:
parent
a4ad12ca52
commit
5b297f7871
24
pkgs/development/ocaml-modules/backoff/default.nix
Normal file
24
pkgs/development/ocaml-modules/backoff/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ lib, buildDunePackage, fetchurl, alcotest}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "backoff";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/backoff/releases/download/${version}/backoff-${version}.tbz";
|
||||
hash = "sha256-EaSseCKekNE03gaNiqh5Y11r8TF9XulR9AZboPWMIwA=";
|
||||
};
|
||||
|
||||
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.13";
|
||||
}
|
@ -64,6 +64,8 @@ let
|
||||
|
||||
b0 = callPackage ../development/ocaml-modules/b0 { };
|
||||
|
||||
backoff = callPackage ../development/ocaml-modules/backoff { };
|
||||
|
||||
bap = janeStreet_0_15.bap;
|
||||
|
||||
base64 = callPackage ../development/ocaml-modules/base64 { };
|
||||
|
Loading…
Reference in New Issue
Block a user