diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix b/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix index 6fba51ce92a1..7052107418c9 100644 --- a/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix +++ b/nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix @@ -2,16 +2,16 @@ , acme , boto3 , certbot -, isPy3k -, pytest , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { - inherit (certbot) src version; - pname = "certbot-dns-route53"; + inherit (certbot) src version; + disabled = pythonOlder "3.6"; + propagatedBuildInputs = [ acme boto3 @@ -19,15 +19,12 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest pytestCheckHook ]; - disabled = !isPy3k; - pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ]; - sourceRoot = "source/${pname}"; + sourceRoot = "source/certbot-dns-route53"; meta = certbot.meta // { description = "Route53 DNS Authenticator plugin for Certbot"; |