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 sourceRoot = "${src.name}/certbot-dns-google"; 17 18 propagatedBuildInputs = [ 19 acme 20 certbot 21 google-api-python-client 22 oauth2client 23 ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 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}