1{
2 buildPythonPackage,
3 acme,
4 boto3,
5 certbot,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "certbot-dns-route53";
13 pyproject = true;
14
15 inherit (certbot) src version;
16 disabled = pythonOlder "3.6";
17
18 sourceRoot = "${src.name}/certbot-dns-route53";
19
20 build-system = [ setuptools ];
21
22 dependencies = [
23 acme
24 boto3
25 certbot
26 ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
30 pytestFlagsArray = [
31 "-p no:cacheprovider"
32
33 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
34 "-W"
35 "ignore::DeprecationWarning"
36 ];
37
38 meta = certbot.meta // {
39 description = "Route53 DNS Authenticator plugin for Certbot";
40 };
41}