1{ 2 buildPythonPackage, 3 acme, 4 certbot, 5 google-api-python-client, 6 oauth2client, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "certbot-dns-google"; 13 format = "setuptools"; 14 15 inherit (certbot) src version; 16 disabled = pythonOlder "3.6"; 17 18 sourceRoot = "${src.name}/certbot-dns-google"; 19 20 propagatedBuildInputs = [ 21 acme 22 certbot 23 google-api-python-client 24 oauth2client 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pytestFlagsArray = [ 30 "-o cache_dir=$(mktemp -d)" 31 32 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution 33 "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" 34 ]; 35 36 meta = certbot.meta // { 37 description = "Google Cloud DNS Authenticator plugin for Certbot"; 38 }; 39}