From 55134f4c5268bf95157a8af9dd381576dd8509e1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 3 Aug 2023 20:20:49 +0200 Subject: [PATCH] home-assistant: pin pyasn1 at 0.4.8 Fixes the brother integration test. --- pkgs/servers/home-assistant/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index d8aa8a5bc4ea..07c4e2adaebf 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -162,6 +162,15 @@ let }; }); + pyasn1 = super.pyasn1.overridePythonAttrs (oldAttrs: rec { + version = "0.4.8"; + src = fetchPypi { + inherit (oldAttrs) pname; + inherit version; + hash = "sha256-rvd8n7lKOsWI6HhBIIvexGRHHZhxvVBQoofMmkdc0Lo="; + }; + }); + # Pinned due to API changes >0.3.5.3 pyatag = super.pyatag.overridePythonAttrs (oldAttrs: rec { version = "0.3.5.3";