diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/certbot-dns-google/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/certbot-dns-google/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/certbot-dns-google/default.nix b/nixpkgs/pkgs/development/python-modules/certbot-dns-google/default.nix new file mode 100644 index 000000000000..182ff720e13a --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/certbot-dns-google/default.nix @@ -0,0 +1,34 @@ +{ 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 + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; + + sourceRoot = "source/certbot-dns-google"; + + meta = certbot.meta // { + description = "Google Cloud DNS Authenticator plugin for Certbot"; + }; +} |