summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/certbot-dns-inwx/default.nix
blob: f2feccfe7f7d1cd519018bba487b835cf1126d00 (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
39
40
41
42
43
44
45
46
47
48
49
50
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  setuptools,
  acme,
  certbot,
  inwx-domrobot,
  idna,
}:

buildPythonPackage rec {
  pname = "certbot-dns-inwx";
  version = "3.0.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "oGGy990";
    repo = "certbot-dns-inwx";
    tag = "v${version}";
    hash = "sha256-bI/CSTYy/W1AwbxnBxhMp/yFnp68G25mTkNUbdNsRZ4=";
  };

  build-system = [ setuptools ];

  dependencies = [
    acme
    certbot
    inwx-domrobot
  ];

  optional-dependencies = {
    idna = [ idna ];
  };

  # Doesn't have any tests
  doCheck = false;

  pythonImportsCheck = [ "certbot_dns_inwx" ];

  meta = {
    description = "INWX DNS Authenticator plugin for Certbot";
    homepage = "https://github.com/oGGy990/certbot-dns-inwx";
    license = with lib.licenses; [
      asl20
      mit
    ];
    maintainers = with lib.maintainers; [ onny ];
  };
}