depot/third_party/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

35 lines
512 B
Nix

{ buildPythonPackage
, acme
, boto3
, certbot
, isPy3k
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "certbot-dns-route53";
propagatedBuildInputs = [
acme
boto3
certbot
];
checkInputs = [
pytest
pytestCheckHook
];
disabled = !isPy3k;
pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
sourceRoot = "source/${pname}";
meta = certbot.meta // {
description = "Route53 DNS Authenticator plugin for Certbot";
};
}