depot/third_party/nixpkgs/pkgs/development/python-modules/certbot-dns-cloudflare/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

32 lines
542 B
Nix

{ buildPythonPackage
, acme
, certbot
, cloudflare
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "certbot-dns-cloudflare";
inherit (certbot) src version;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [
acme
certbot
cloudflare
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
sourceRoot = "source/certbot-dns-cloudflare";
meta = certbot.meta // {
description = "Cloudflare DNS Authenticator plugin for Certbot";
};
}