Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 41 lines 708 B view raw
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 pytestFlagsArray = [ 31 "-p no:cacheprovider" 32 33 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution 34 "-W" 35 "ignore::DeprecationWarning" 36 ]; 37 38 meta = certbot.meta // { 39 description = "OVH DNS Authenticator plugin for Certbot"; 40 }; 41}