2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
acme,
|
|
|
|
boto3,
|
|
|
|
certbot,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "certbot-dns-route53";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
inherit (certbot) src version;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
acme
|
|
|
|
boto3
|
|
|
|
certbot
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
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'"
|
|
|
|
];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/certbot-dns-route53";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
meta = certbot.meta // {
|
|
|
|
description = "Route53 DNS Authenticator plugin for Certbot";
|
|
|
|
};
|
|
|
|
}
|