mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
36 lines
512 B
Nix
36 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";
|
|
};
|
|
}
|