5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
32 lines
547 B
Nix
32 lines
547 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 = "${src.name}/certbot-dns-cloudflare";
|
|
|
|
meta = certbot.meta // {
|
|
description = "Cloudflare DNS Authenticator plugin for Certbot";
|
|
};
|
|
}
|