aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix
blob: 19e53aa20cc9bdc4a910656ef2f1a916f2490e59 (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
, certbot
, dnspython
, isPy3k
, pytest
, pytestCheckHook
}:

buildPythonPackage rec {
  inherit (certbot) src version;

  pname = "certbot-dns-rfc2136";

  propagatedBuildInputs = [
    acme
    certbot
    dnspython
  ];

  checkInputs = [
    pytest
    pytestCheckHook
  ];

  disabled = !isPy3k;

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

  sourceRoot = "source/${pname}";

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