diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2021-04-22 17:17:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 17:17:02 +0200 |
commit | 9abe4174c776625539ffa4c21477e7cf090bb587 (patch) | |
tree | 3cbee2f53534f4978886edf6f0ed79ae5cdc2d76 | |
parent | eab5c73a13bf13b228bd11e23f98c3c3c4bdfe9e (diff) | |
parent | 4d85aa1c2370c7b5a5e12cc9de55620f60e47618 (diff) | |
download | nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.tar nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.tar.gz nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.tar.bz2 nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.tar.lz nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.tar.xz nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.tar.zst nixpkgs-9abe4174c776625539ffa4c21477e7cf090bb587.zip |
Merge pull request #120211 from fabaff/bump-brother
-rw-r--r-- | pkgs/development/python-modules/brother/default.nix | 4 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/default.nix | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/brother/default.nix b/pkgs/development/python-modules/brother/default.nix index e4f9d63bd6b..9f41ed5756f 100644 --- a/pkgs/development/python-modules/brother/default.nix +++ b/pkgs/development/python-modules/brother/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "brother"; - version = "0.2.2"; + version = "1.0.0"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "bieniu"; repo = pname; rev = version; - sha256 = "sha256-vIefcL3K3ZbAUxMFM7gbbTFdrnmufWZHcq4OA19SYXE="; + sha256 = "sha256-0NfqPlQiOkNhR+H55E9LE4dGa9R8vcSyPNbbIeiRJV8="; }; postPatch = '' diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index ea9a7f5d150..6072805cf0a 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -27,6 +27,19 @@ let (mkOverride "astral" "1.10.1" "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1") + # Pinned due to API changes in brother>=1.0, remove >= 2021.5 + (self: super: { + brother = super.brother.overridePythonAttrs (oldAttrs: rec { + version = "0.2.2"; + src = fetchFromGitHub { + owner = "bieniu"; + repo = "brother"; + rev = version; + sha256 = "sha256-vIefcL3K3ZbAUxMFM7gbbTFdrnmufWZHcq4OA19SYXE="; + }; + }); + }) + # Pinned due to API changes in iaqualink>=2.0, remove after # https://github.com/home-assistant/core/pull/48137 was merged (self: super: { @@ -205,6 +218,7 @@ in with py.pkgs; buildPythonApplication rec { "axis" "bayesian" "binary_sensor" + "brother" "caldav" "calendar" "camera" |