diff --git a/pkgs/development/python-modules/certbot/default.nix b/pkgs/development/python-modules/certbot/default.nix index f4078721a324..fab4563b7ecd 100644 --- a/pkgs/development/python-modules/certbot/default.nix +++ b/pkgs/development/python-modules/certbot/default.nix @@ -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";