2021-12-06 16:07:01 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, acme
|
|
|
|
, certbot
|
|
|
|
, google-api-python-client
|
|
|
|
, oauth2client
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "certbot-dns-google";
|
|
|
|
|
|
|
|
inherit (certbot) src version;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
acme
|
|
|
|
certbot
|
|
|
|
google-api-python-client
|
|
|
|
oauth2client
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/certbot-dns-google";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
meta = certbot.meta // {
|
|
|
|
description = "Google Cloud DNS Authenticator plugin for Certbot";
|
|
|
|
};
|
|
|
|
}
|