nixpkgs/pkgs/development/python-modules/certbot-dns-route53/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

33 lines
523 B
Nix

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