504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
38 lines
711 B
Nix
38 lines
711 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";
|
|
};
|
|
}
|