Unverified Commit 10dd9d85 authored by Lily Foster's avatar Lily Foster Committed by GitHub
Browse files

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

sqitch: add Algorithm::Backoff
parents fc732173 afef3070
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+15 −0
Original line number Diff line number Diff line
@@ -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";