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