mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
31 lines
462 B
Nix
31 lines
462 B
Nix
{
|
|
buildPythonPackage,
|
|
certbot,
|
|
pyparsing,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "certbot-nginx";
|
|
pyproject = true;
|
|
|
|
inherit (certbot) src version;
|
|
|
|
sourceRoot = "${src.name}/certbot-nginx";
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
certbot
|
|
pyparsing
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"certbot_nginx"
|
|
"certbot.plugins.nginx"
|
|
];
|
|
|
|
meta = certbot.meta // {
|
|
description = "Nginx plugin for Certbot";
|
|
};
|
|
}
|