1{ buildPythonPackage
2, acme
3, boto3
4, certbot
5, isPy3k
6, pytest
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 inherit (certbot) src version;
12
13 pname = "certbot-dns-route53";
14
15 propagatedBuildInputs = [
16 acme
17 boto3
18 certbot
19 ];
20
21 checkInputs = [
22 pytest
23 pytestCheckHook
24 ];
25
26 disabled = !isPy3k;
27
28 pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
29
30 sourceRoot = "source/${pname}";
31
32 meta = certbot.meta // {
33 description = "Route53 DNS Authenticator plugin for Certbot";
34 };
35}