python3Packages.certbot: 2.11.0 -> 3.1.0

https://github.com/certbot/certbot/blob/v3.1.0/certbot/CHANGELOG.md
This commit is contained in:
Martin Weinelt
2025-01-27 10:54:53 +01:00
parent 4e726faea2
commit c367ca98c0
@@ -4,7 +4,6 @@
python,
runCommand,
fetchFromGitHub,
fetchpatch,
configargparse,
acme,
configobj,
@@ -24,25 +23,16 @@
buildPythonPackage rec {
pname = "certbot";
version = "2.11.0";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "certbot";
repo = "certbot";
tag = "v${version}";
hash = "sha256-Qee7lUjgliG5fmUWWPm3MzpGJHUF/DXZ08UA6kkWjjk=";
hash = "sha256-lYGJgUNDzX+bE64GJ+djdKR+DXmhpcNbFJrAEnP86yQ=";
};
patches = [
(fetchpatch {
name = "CSR_support_in_pyOpenSSL_is_deprecated.patch";
url = "https://github.com/certbot/certbot/commit/f005045d87b25f1922774685646e57765aa202ad.patch";
includes = [ "pytest.ini" ];
hash = "sha256-YcQbZb7DLU+AXxNyqJRYZIC18DuT6X8kGbfdYtUrHiA=";
})
];
postPatch = "cd ${pname}"; # using sourceRoot would interfere with patches
build-system = [ setuptools ];
@@ -95,7 +85,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://github.com/certbot/certbot";
changelog = "https://github.com/certbot/certbot/blob/${src.rev}/certbot/CHANGELOG.md";
changelog = "https://github.com/certbot/certbot/blob/${src.tag}/certbot/CHANGELOG.md";
description = "ACME client that can obtain certs and extensibly update server configurations";
platforms = platforms.unix;
mainProgram = "certbot";