1{ buildPythonPackage
2, acme
3, boto3
4, certbot
5, pytestCheckHook
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "certbot-dns-route53";
11
12 inherit (certbot) src version;
13 disabled = pythonOlder "3.6";
14
15 propagatedBuildInputs = [
16 acme
17 boto3
18 certbot
19 ];
20
21 nativeCheckInputs = [
22 pytestCheckHook
23 ];
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}