1{
2 buildPythonPackage,
3 acme,
4 boto3,
5 certbot,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "certbot-dns-route53";
12 format = "setuptools";
13
14 inherit (certbot) src version;
15 disabled = pythonOlder "3.6";
16
17 propagatedBuildInputs = [
18 acme
19 boto3
20 certbot
21 ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pytestFlagsArray = [
26 "-o cache_dir=$(mktemp -d)"
27
28 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
29 "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'"
30 ];
31
32 sourceRoot = "${src.name}/certbot-dns-route53";
33
34 meta = certbot.meta // {
35 description = "Route53 DNS Authenticator plugin for Certbot";
36 };
37}