5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
34 lines
601 B
Nix
34 lines
601 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";
|
|
|
|
propagatedBuildInputs = [
|
|
acme
|
|
certbot
|
|
google-api-python-client
|
|
oauth2client
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
|
|
|
|
sourceRoot = "${src.name}/certbot-dns-google";
|
|
|
|
meta = certbot.meta // {
|
|
description = "Google Cloud DNS Authenticator plugin for Certbot";
|
|
};
|
|
}
|