summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/certbot-dns-ovh/default.nix
blob: 2a5a6f062848eae8338b4153f9316a5f5316fda6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  acme,
  buildPythonPackage,
  certbot,
  dns-lexicon,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "certbot-dns-ovh";
  pyproject = true;

  inherit (certbot) src version;

  sourceRoot = "${src.name}/certbot-dns-ovh";

  build-system = [ setuptools ];

  dependencies = [
    acme
    certbot
    dns-lexicon
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pytestFlags = [
    "-pno:cacheprovider"

    # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
    "-Wignore::DeprecationWarning"
  ];

  meta = certbot.meta // {
    description = "OVH DNS Authenticator plugin for Certbot";
  };
}