python3Packages.certbot: 5.4.0 -> 5.6.0 (#508197)

This commit is contained in:
dotlambda 2026-05-28 23:55:27 +00:00 committed by GitHub
commit 5d7b849458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 18 deletions

View file

@ -1,9 +1,7 @@
{
buildPythonPackage,
acme,
certbot,
pyparsing,
pytestCheckHook,
setuptools,
}:
@ -18,16 +16,13 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [
acme
certbot
pyparsing
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlags = [
"-pno:cacheprovider"
"-Wignore::DeprecationWarning"
pythonImportsCheck = [
"certbot_nginx"
"certbot.plugins.nginx"
];
meta = certbot.meta // {

View file

@ -22,19 +22,19 @@
writeShellScriptBin,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "certbot";
version = "5.4.0";
version = "5.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "certbot";
repo = "certbot";
tag = "v${version}";
hash = "sha256-Tu46Wybod89TiwsVccNuQcweWoeQE1wbH+pDWNC9+kE=";
tag = "v${finalAttrs.version}";
hash = "sha256-knaEk4bjC0cdnMiO4ENvaDm/i/3tn6ZOJPdyqJxLKOs=";
};
sourceRoot = "${src.name}/certbot";
sourceRoot = "${finalAttrs.src.name}/certbot";
build-system = [ setuptools ];
@ -87,9 +87,9 @@ buildPythonPackage rec {
let
pythonEnv = python.withPackages f;
in
runCommand "certbot-with-plugins-${version}"
runCommand "certbot-with-plugins-${finalAttrs.version}"
{
inherit pname version;
inherit (finalAttrs) pname version;
}
''
mkdir -p $out/bin
@ -99,11 +99,11 @@ buildPythonPackage rec {
meta = {
homepage = "https://github.com/certbot/certbot";
changelog = "https://github.com/certbot/certbot/blob/${src.tag}/certbot/CHANGELOG.md";
changelog = "https://github.com/certbot/certbot/blob/${finalAttrs.src.tag}/certbot/CHANGELOG.md";
description = "ACME client that can obtain certs and extensibly update server configurations";
platforms = lib.platforms.unix;
mainProgram = "certbot";
maintainers = [ ];
maintainers = with lib.maintainers; [ miniharinn ];
license = with lib.licenses; [ asl20 ];
};
}
})

View file

@ -50,6 +50,10 @@ buildPythonPackage (finalAttrs: {
build-system = [ setuptools ];
pythonRelaxDeps = [
"acme"
];
dependencies = [
acme
aiohttp