python3.pkgs.certbot-dns-cloudflare: init at 1.6.0

This commit is contained in:
Florian Klink
2020-07-08 12:55:03 +02:00
parent 7f6f990d53
commit 9b4364d703
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{ buildPythonPackage
, acme
, certbot
, cloudflare
, isPy3k
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "certbot-dns-cloudflare";
propagatedBuildInputs = [
acme
certbot
cloudflare
];
checkInputs = [
pytest
pytestCheckHook
];
disabled = !isPy3k;
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
sourceRoot = "source/${pname}";
meta = certbot.meta // {
description = "Cloudflare DNS Authenticator plugin for Certbot";
};
}