aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix
blob: 6fba51ce92a14830e6ca264c5e52adf9f4ee890b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ buildPythonPackage
, acme
, boto3
, certbot
, isPy3k
, pytest
, pytestCheckHook
}:

buildPythonPackage rec {
  inherit (certbot) src version;

  pname = "certbot-dns-route53";

  propagatedBuildInputs = [
    acme
    boto3
    certbot
  ];

  checkInputs = [
    pytest
    pytestCheckHook
  ];

  disabled = !isPy3k;

  pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];

  sourceRoot = "source/${pname}";

  meta = certbot.meta // {
    description = "Route53 DNS Authenticator plugin for Certbot";
  };
}