-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
/
default.nix
40 lines (32 loc) · 931 Bytes
/
default.nix
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
{ buildPythonPackage
, acme
, certbot
, dns-lexicon
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "certbot-dns-ovh";
format = "setuptools";
inherit (certbot) src version;
disabled = pythonOlder "3.6";
sourceRoot = "${src.name}/certbot-dns-ovh";
propagatedBuildInputs = [
acme
certbot
dns-lexicon
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"-o cache_dir=$(mktemp -d)"
# Monitor https://github.com/certbot/certbot/issues/9606 for a solution
"-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'"
"-W 'ignore:Package lexicon.providers is deprecated and will be removed in Lexicon 4>=.:DeprecationWarning'"
"-W 'ignore:Legacy configuration object has been used to load the ConfigResolver.:DeprecationWarning'"
];
meta = certbot.meta // {
description = "OVH DNS Authenticator plugin for Certbot";
};
}