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