depot/third_party/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
713 B
Nix

{
buildPythonPackage,
acme,
boto3,
certbot,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "certbot-dns-route53";
format = "setuptools";
inherit (certbot) src version;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [
acme
boto3
certbot
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [
"-o cache_dir=$(mktemp -d)"
# Monitor https://github.com/certbot/certbot/issues/9606 for a solution
"-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'"
];
sourceRoot = "${src.name}/certbot-dns-route53";
meta = certbot.meta // {
description = "Route53 DNS Authenticator plugin for Certbot";
};
}