summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/certbot-nginx/default.nix
blob: 6acc31e5f7829ac0a05da182817868ef139d00fb (plain)
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
{
  buildPythonPackage,
  acme,
  certbot,
  pyparsing,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "certbot-nginx";
  pyproject = true;

  inherit (certbot) src version;

  sourceRoot = "${src.name}/certbot-nginx";

  build-system = [ setuptools ];

  dependencies = [
    acme
    certbot
    pyparsing
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pytestFlags = [
    "-pno:cacheprovider"
  ];

  meta = certbot.meta // {
    description = "Nginx plugin for Certbot";
  };
}