Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 # https://github.com/certbot/certbot/issues/9988 32 "-Wignore::DeprecationWarning" 33 ]; 34 35 meta = certbot.meta // { 36 description = "Google Cloud DNS Authenticator plugin for Certbot"; 37 }; 38}