mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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 {
|
python = python3.override {
|
||||||
self = python;
|
self = python;
|
||||||
packageOverrides = self: super: {
|
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
|
in
|
||||||
|
|
|
@ -10,7 +10,15 @@ let
|
||||||
python = python3.override {
|
python = python3.override {
|
||||||
self = python;
|
self = python;
|
||||||
packageOverrides = self: super: {
|
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 {
|
josepy = super.josepy.overridePythonAttrs (old: rec {
|
||||||
version = "1.15.0";
|
version = "1.15.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
@ -23,14 +23,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "certbot";
|
pname = "certbot";
|
||||||
version = "3.1.0";
|
version = "4.0.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "certbot";
|
owner = "certbot";
|
||||||
repo = "certbot";
|
repo = "certbot";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-lYGJgUNDzX+bE64GJ+djdKR+DXmhpcNbFJrAEnP86yQ=";
|
hash = "sha256-GS4JLLXrX4+BQ4S6ySbOHUaUthCFYTCHWnOaMpfnIj8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = "cd certbot"; # using sourceRoot would interfere with patches
|
postPatch = "cd certbot"; # using sourceRoot would interfere with patches
|
||||||
|
@ -84,8 +84,6 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
# AttributeError: module 'josepy' has no attribute 'ComparableX509'
|
|
||||||
broken = lib.versionAtLeast josepy.version "2";
|
|
||||||
homepage = "https://github.com/certbot/certbot";
|
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/${src.tag}/certbot/CHANGELOG.md";
|
||||||
description = "ACME client that can obtain certs and extensibly update server configurations";
|
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 {
|
openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "2.2";
|
version = "2.2";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue