3
0
Fork 0
forked from mirrors/nixpkgs

sqitch: add Algorithm::Backoff

This commit is contained in:
John Rinehart 2023-06-12 16:04:26 +01:00
parent 8255903b71
commit afef307023
2 changed files with 16 additions and 1 deletions

View file

@ -10,7 +10,7 @@
let
sqitch = perlPackages.AppSqitch;
modules = with perlPackages; [ ]
modules = with perlPackages; [ AlgorithmBackoff ]
++ lib.optional mysqlSupport DBDmysql
++ lib.optional postgresqlSupport DBDPg
++ lib.optional templateToolkitSupport TemplateToolkit;

View file

@ -160,6 +160,21 @@ with self; {
};
};
AlgorithmBackoff = buildPerlPackage {
pname = "Algorithm-Backoff";
version = "0.009";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PERLANCAR/Algorithm-Backoff-0.009.tar.gz";
sha256 = "9f0ffcdf1e65a88022d6412f46ad977ede5a7b64be663009d13948fe8c9d180b";
};
buildInputs = [ TestException TestNumberDelta ];
meta = {
homepage = "https://metacpan.org/release/Algorithm-Backoff";
description = "Various backoff strategies for retry";
license = with lib.licenses; [ artistic1 gpl1Plus ];
};
};
AlgorithmC3 = buildPerlPackage {
pname = "Algorithm-C3";
version = "0.11";