Files
nixpkgs/pkgs/development/python-modules/certbot-dns-cloudflare/default.nix
T

44 lines
798 B
Nix

{
buildPythonPackage,
acme,
certbot,
cloudflare,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "certbot-dns-cloudflare";
pyproject = true;
inherit (certbot) src version;
disabled = pythonOlder "3.9";
sourceRoot = "${src.name}/certbot-dns-cloudflare";
build-system = [ setuptools ];
dependencies = [
acme
certbot
cloudflare
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [
"-p no:cacheprovider"
# Monitor https://github.com/certbot/certbot/issues/9606 for a solution
"-W"
"ignore::DeprecationWarning"
];
meta = certbot.meta // {
description = "Cloudflare DNS Authenticator plugin for Certbot";
# https://github.com/certbot/certbot/pull/10182
broken = true;
};
}