nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 acme,
3 buildPythonPackage,
4 certbot,
5 dns-lexicon,
6 pytestCheckHook,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "certbot-dns-ovh";
12 pyproject = true;
13
14 inherit (certbot) src version;
15
16 sourceRoot = "${src.name}/certbot-dns-ovh";
17
18 build-system = [ setuptools ];
19
20 dependencies = [
21 acme
22 certbot
23 dns-lexicon
24 ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pytestFlags = [
29 "-pno:cacheprovider"
30
31 # Monitor https://github.com/certbot/certbot/issues/9606 for a solution
32 "-Wignore::DeprecationWarning"
33 ];
34
35 meta = certbot.meta // {
36 description = "OVH DNS Authenticator plugin for Certbot";
37 };
38}