2025-08-02 20:01:08 +02:00

38 lines
559 B
Nix

{
buildPythonPackage,
acme,
certbot,
pyparsing,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "certbot-nginx";
pyproject = true;
inherit (certbot) src version;
disabled = pythonOlder "3.9";
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";
};
}