forked from mirrors/nixpkgs
sqitch: add Algorithm::Backoff
This commit is contained in:
parent
8255903b71
commit
afef307023
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue