2020-07-18 16:06:22 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, acme
|
|
|
|
, certbot
|
|
|
|
, cloudflare
|
|
|
|
, pytestCheckHook
|
2021-12-06 16:07:01 +00:00
|
|
|
, pythonOlder
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "certbot-dns-cloudflare";
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
inherit (certbot) src version;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
acme
|
|
|
|
certbot
|
|
|
|
cloudflare
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
sourceRoot = "source/certbot-dns-cloudflare";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
meta = certbot.meta // {
|
|
|
|
description = "Cloudflare DNS Authenticator plugin for Certbot";
|
|
|
|
};
|
|
|
|
}
|