1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 setuptools,
6 acme,
7 certbot,
8 inwx-domrobot,
9 idna,
10}:
11
12buildPythonPackage rec {
13 pname = "certbot-dns-inwx";
14 version = "3.0.3";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "oGGy990";
19 repo = "certbot-dns-inwx";
20 tag = "v${version}";
21 hash = "sha256-bI/CSTYy/W1AwbxnBxhMp/yFnp68G25mTkNUbdNsRZ4=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 acme
28 certbot
29 inwx-domrobot
30 ];
31
32 optional-dependencies = {
33 idna = [ idna ];
34 };
35
36 # Doesn't have any tests
37 doCheck = false;
38
39 pythonImportsCheck = [ "certbot_dns_inwx" ];
40
41 meta = {
42 description = "INWX DNS Authenticator plugin for Certbot";
43 homepage = "https://github.com/oGGy990/certbot-dns-inwx";
44 license = with lib.licenses; [
45 asl20
46 mit
47 ];
48 maintainers = with lib.maintainers; [ onny ];
49 };
50}