mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
python313Packages.certbot: 3.1.0 -> 4.0.0
Diff: https://github.com/certbot/certbot/compare/refs/tags/v3.1.0...v4.0.0 Changelog: https://github.com/certbot/certbot/blob/v4.0.0/certbot/CHANGELOG.md
This commit is contained in:
parent
3a108f3ce3
commit
466b8abe3a
4 changed files with 11 additions and 34 deletions
|
@ -7,19 +7,6 @@ let
|
|||
python = python3.override {
|
||||
self = python;
|
||||
packageOverrides = self: super: {
|
||||
josepy = super.josepy.overridePythonAttrs (old: rec {
|
||||
version = "1.15.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "certbot";
|
||||
repo = "josepy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fK4JHDP9eKZf2WO+CqRdEjGwJg/WNLvoxiVrb5xQxRc=";
|
||||
};
|
||||
dependencies = with self; [
|
||||
pyopenssl
|
||||
cryptography
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
|
@ -10,7 +10,15 @@ let
|
|||
python = python3.override {
|
||||
self = python;
|
||||
packageOverrides = self: super: {
|
||||
# acme doesn't support josepy v2
|
||||
certbot = super.certbot.overridePythonAttrs rec {
|
||||
version = "3.1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "certbot";
|
||||
repo = "certbot";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-lYGJgUNDzX+bE64GJ+djdKR+DXmhpcNbFJrAEnP86yQ=";
|
||||
};
|
||||
};
|
||||
josepy = super.josepy.overridePythonAttrs (old: rec {
|
||||
version = "1.15.0";
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
@ -23,14 +23,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "certbot";
|
||||
version = "3.1.0";
|
||||
version = "4.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "certbot";
|
||||
repo = "certbot";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-lYGJgUNDzX+bE64GJ+djdKR+DXmhpcNbFJrAEnP86yQ=";
|
||||
hash = "sha256-GS4JLLXrX4+BQ4S6ySbOHUaUthCFYTCHWnOaMpfnIj8=";
|
||||
};
|
||||
|
||||
postPatch = "cd certbot"; # using sourceRoot would interfere with patches
|
||||
|
@ -84,8 +84,6 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
# AttributeError: module 'josepy' has no attribute 'ComparableX509'
|
||||
broken = lib.versionAtLeast josepy.version "2";
|
||||
homepage = "https://github.com/certbot/certbot";
|
||||
changelog = "https://github.com/certbot/certbot/blob/${src.tag}/certbot/CHANGELOG.md";
|
||||
description = "ACME client that can obtain certs and extensibly update server configurations";
|
||||
|
|
|
@ -163,22 +163,6 @@ let
|
|||
};
|
||||
});
|
||||
|
||||
# acme and thus hass-nabucasa doesn't support josepy v2
|
||||
# https://github.com/certbot/certbot/issues/10185
|
||||
josepy = super.josepy.overridePythonAttrs (old: rec {
|
||||
version = "1.15.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "certbot";
|
||||
repo = "josepy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-fK4JHDP9eKZf2WO+CqRdEjGwJg/WNLvoxiVrb5xQxRc=";
|
||||
};
|
||||
dependencies = with self; [
|
||||
pyopenssl
|
||||
cryptography
|
||||
];
|
||||
});
|
||||
|
||||
openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.2";
|
||||
src = fetchFromGitHub {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue