1{ buildPythonPackage
2, acme
3, certbot
4, cloudflare
5, isPy3k
6, pytest
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 inherit (certbot) src version;
12
13 pname = "certbot-dns-cloudflare";
14
15 propagatedBuildInputs = [
16 acme
17 certbot
18 cloudflare
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 = "Cloudflare DNS Authenticator plugin for Certbot";
34 };
35}