nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPythonPackage,
3 acme,
4 certbot,
5 cloudflare,
6 pytestCheckHook,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "certbot-dns-cloudflare";
12 pyproject = true;
13
14 inherit (certbot) src version;
15
16 sourceRoot = "${src.name}/certbot-dns-cloudflare";
17
18 build-system = [ setuptools ];
19
20 dependencies = [
21 acme
22 certbot
23 cloudflare
24 ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pytestFlags = [
29 "-pno:cacheprovider"
30
31 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
32 "-Wignore::DeprecationWarning"
33 ];
34
35 meta = certbot.meta // {
36 description = "Cloudflare DNS Authenticator plugin for Certbot";
37 # https://github.com/certbot/certbot/pull/10182
38 broken = true;
39 };
40}