From 0b96365893ab696cb33eabe4132af1641023c604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 22 Feb 2025 19:29:56 -0800 Subject: [PATCH] home-assistant: pin josepy to version 1.15.0 --- pkgs/servers/home-assistant/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index aa1079070124..a67e2beaa087 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -152,6 +152,22 @@ 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 + ]; + }); + letpot = super.letpot.overridePythonAttrs (rec { version = "0.3.0"; src = fetchFromGitHub {