Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, acme 3, certbot 4, dnspython 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "certbot-dns-rfc2136"; 11 12 inherit (certbot) src version; 13 disabled = pythonOlder "3.6"; 14 15 sourceRoot = "${src.name}/certbot-dns-rfc2136"; 16 17 propagatedBuildInputs = [ 18 acme 19 certbot 20 dnspython 21 ]; 22 23 nativeCheckInputs = [ 24 pytestCheckHook 25 ]; 26 27 pytestFlagsArray = [ 28 "-o cache_dir=$(mktemp -d)" 29 30 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution 31 "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" 32 ]; 33 34 meta = certbot.meta // { 35 description = "RFC 2136 DNS Authenticator plugin for Certbot"; 36 }; 37}