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 pytestFlags = [
31 "-pno:cacheprovider"
32
33 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
34 "-Wignore::DeprecationWarning"
35 ];
36
37 meta = certbot.meta // {
38 description = "Route53 DNS Authenticator plugin for Certbot";
39 };
40}