@@ -27,6 +27,19 @@ let
2727 (mkOverride "astral" "1.10.1"
2828 "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1")
2929
30+ # Pinned due to API changes in brother>=1.0, remove >= 2021.5
31+ (self: super: {
32+ brother = super.brother.overridePythonAttrs (oldAttrs: rec {
33+ version = "0.2.2";
34+ src = fetchFromGitHub {
35+ owner = "bieniu";
36+ repo = "brother";
37+ rev = version;
38+ sha256 = "sha256-vIefcL3K3ZbAUxMFM7gbbTFdrnmufWZHcq4OA19SYXE=";
39+ };
40+ });
41+ })
42+
3043 # Pinned due to API changes in iaqualink>=2.0, remove after
3144 # https://github.com/home-assistant/core/pull/48137 was merged
3245 (self: super: {
@@ -205,6 +218,7 @@ in with py.pkgs; buildPythonApplication rec {
205218 "axis"
206219 "bayesian"
207220 "binary_sensor"
221+ "brother"
208222 "caldav"
209223 "calendar"
210224 "camera"