3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix

36 lines
512 B
Nix
Raw Normal View History

{ 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";
};
}