Files
Haylin Moore d9eaa1b1b0 python3Packages.certbot-dns-cloudflare: unbreak
Upstream moved to cloudflare>=4.0 (certbot/certbot#10182), and nixpkgs
has cloudflare 5.9.0, so the plugin builds and its tests pass again.
2026-10-31 15:05:17 -07:00

39 lines
667 B
Nix

{
buildPythonPackage,
acme,
certbot,
cloudflare,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "certbot-dns-cloudflare";
pyproject = true;
inherit (certbot) src version;
sourceRoot = "${src.name}/certbot-dns-cloudflare";
build-system = [ setuptools ];
dependencies = [
acme
certbot
cloudflare
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlags = [
"-pno:cacheprovider"
# Monitor https://github.com/certbot/certbot/issues/9606 for a solution
"-Wignore::DeprecationWarning"
];
meta = certbot.meta // {
description = "Cloudflare DNS Authenticator plugin for Certbot";
};
}