1{
2 buildPythonPackage,
3 acme,
4 certbot,
5 pyparsing,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "certbot-nginx";
13 pyproject = true;
14
15 inherit (certbot) src version;
16 disabled = pythonOlder "3.9";
17
18 sourceRoot = "${src.name}/certbot-nginx";
19
20 build-system = [ setuptools ];
21
22 dependencies = [
23 acme
24 certbot
25 pyparsing
26 ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
30 pytestFlags = [
31 "-pno:cacheprovider"
32 ];
33
34 meta = certbot.meta // {
35 description = "Nginx plugin for Certbot";
36 };
37}