c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
39 lines
759 B
Nix
39 lines
759 B
Nix
{ buildPythonPackage
|
|
, acme
|
|
, certbot
|
|
, google-api-python-client
|
|
, oauth2client
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "certbot-dns-google";
|
|
|
|
inherit (certbot) src version;
|
|
disabled = pythonOlder "3.6";
|
|
|
|
sourceRoot = "${src.name}/certbot-dns-google";
|
|
|
|
propagatedBuildInputs = [
|
|
acme
|
|
certbot
|
|
google-api-python-client
|
|
oauth2client
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"-o cache_dir=$(mktemp -d)"
|
|
|
|
# Monitor https://github.com/certbot/certbot/issues/9606 for a solution
|
|
"-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'"
|
|
];
|
|
|
|
meta = certbot.meta // {
|
|
description = "Google Cloud DNS Authenticator plugin for Certbot";
|
|
};
|
|
}
|