3
0
Fork 0
forked from mirrors/nixpkgs

home-assistant: pin iaqualink at 0.3.4

This was required due to breaking API changes in iaqualink>=0.4.0 and
can be safely removed after https://github.com/home-assistant/core/pull/48137
has been merged and released.
This commit is contained in:
Martin Weinelt 2021-03-21 04:14:48 +01:00
parent 46fe40324a
commit cfce515802
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -28,6 +28,21 @@ let
(mkOverride "astral" "1.10.1"
"d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1")
# Pinned due to API changes in iaqualink>=2.0, remove after
# https://github.com/home-assistant/core/pull/48137 was merged
(self: super: {
iaqualink = super.iaqualink.overridePythonAttrs (oldAttrs: rec {
version = "0.3.4";
src = fetchFromGitHub {
owner = "flz";
repo = "iaqualink-py";
rev = version;
sha256 = "16mn6nd9x3hm6j6da99qhwbqs95hh8wx21r1h1m9csl76z77n9lh";
};
checkInputs = oldAttrs.checkInputs ++ [ python3.pkgs.asynctest ];
});
})
# Pinned due to bug in ring-doorbell 0.7.0
# https://github.com/tchellomello/python-ring-doorbell/issues/240
(mkOverride "ring-doorbell" "0.6.2"