1{ buildPythonPackage
2, acme
3, certbot
4, google-api-python-client
5, oauth2client
6, pytestCheckHook
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "certbot-dns-google";
12
13 inherit (certbot) src version;
14 disabled = pythonOlder "3.6";
15
16 propagatedBuildInputs = [
17 acme
18 certbot
19 google-api-python-client
20 oauth2client
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
28
29 sourceRoot = "source/certbot-dns-google";
30
31 meta = certbot.meta // {
32 description = "Google Cloud DNS Authenticator plugin for Certbot";
33 };
34}