Merge pull request #237371 from johnrichardrinehart/fix/sqitch-add-algorithm-backoff

sqitch: add Algorithm::Backoff
This commit is contained in:
Lily Foster 2023-06-15 09:09:17 -04:00 committed by GitHub
commit 10dd9d85ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";