Files
nixpkgs/pkgs/development/python-modules/certbot-dns-google/default.nix
T
Wolfgang Walther 3f9135d88b python3Packages: disable pytest cache
Instead of putting pytest's cache in a temporary directory, which will
never be re-used anyway - let's just disable it outright. This avoids
depending on bash eval in pytestFlagsArray, which we'd like to move away
from.

psycopg's testsuite somehow depends explicitly on this cache, thus we
keep it enabled there.
2024-11-09 18:11:37 +01:00

39 lines
717 B
Nix

{
buildPythonPackage,
acme,
certbot,
google-api-python-client,
oauth2client,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "certbot-dns-google";
format = "setuptools";
inherit (certbot) src version;
disabled = pythonOlder "3.6";
sourceRoot = "${src.name}/certbot-dns-google";
propagatedBuildInputs = [
acme
certbot
google-api-python-client
oauth2client
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [
"-p no:cacheprovider"
# https://github.com/certbot/certbot/issues/9988
"-Wignore::DeprecationWarning"
];
meta = certbot.meta // {
description = "Google Cloud DNS Authenticator plugin for Certbot";
};
}