mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-10 07:13:38 +00:00
37 lines
547 B
Nix
37 lines
547 B
Nix
{
|
|
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"
|
|
"-Wignore::DeprecationWarning"
|
|
];
|
|
|
|
meta = certbot.meta // {
|
|
description = "Nginx plugin for Certbot";
|
|
};
|
|
}
|