summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/certbot-dns-route53/default.nix
blob: 84068756908e4948040691c39dc5b2ec31d5deed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  buildPythonPackage,
  acme,
  boto3,
  certbot,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "certbot-dns-route53";
  pyproject = true;

  inherit (certbot) src version;

  sourceRoot = "${src.name}/certbot-dns-route53";

  build-system = [ setuptools ];

  dependencies = [
    acme
    boto3
    certbot
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pytestFlags = [
    "-pno:cacheprovider"

    # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
    "-Wignore::DeprecationWarning"
  ];

  meta = certbot.meta // {
    description = "Route53 DNS Authenticator plugin for Certbot";
  };
}