Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 39 lines 906 B view raw
1{ buildPythonPackage 2, acme 3, certbot 4, dns-lexicon 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "certbot-dns-ovh"; 11 12 inherit (certbot) src version; 13 disabled = pythonOlder "3.6"; 14 15 sourceRoot = "${src.name}/certbot-dns-ovh"; 16 17 propagatedBuildInputs = [ 18 acme 19 certbot 20 dns-lexicon 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 "-W 'ignore:Package lexicon.providers is deprecated and will be removed in Lexicon 4>=.:DeprecationWarning'" 33 "-W 'ignore:Legacy configuration object has been used to load the ConfigResolver.:DeprecationWarning'" 34 ]; 35 36 meta = certbot.meta // { 37 description = "OVH DNS Authenticator plugin for Certbot"; 38 }; 39}