1{
2 buildPythonPackage,
3 acme,
4 certbot,
5 dnspython,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "certbot-dns-rfc2136";
12 format = "setuptools";
13
14 inherit (certbot) src version;
15 disabled = pythonOlder "3.6";
16
17 sourceRoot = "${src.name}/certbot-dns-rfc2136";
18
19 propagatedBuildInputs = [
20 acme
21 certbot
22 dnspython
23 ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 pytestFlags = [
28 "-pno:cacheprovider"
29
30 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
31 "-Wignore::DeprecationWarning"
32 ];
33
34 meta = certbot.meta // {
35 description = "RFC 2136 DNS Authenticator plugin for Certbot";
36 };
37}