mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-30 09:50:18 +00:00
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.
39 lines
667 B
Nix
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";
|
|
};
|
|
}
|