depot/third_party/nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

32 lines
537 B
Nix

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