home-assistant: pin aiopvpc, pyatmo, pyatv, pysma
This commit is contained in:
parent
7af140953b
commit
86494638b8
1 changed files with 36 additions and 19 deletions
|
@ -23,27 +23,16 @@ let
|
||||||
defaultOverrides = [
|
defaultOverrides = [
|
||||||
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/pull/125414
|
# Pinned due to API changes in aiopvpc>=2.2.0, remove after 2021.7.0
|
||||||
(mkOverride "flask" "2.0.1" "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w")
|
|
||||||
(mkOverride "itsdangerous" "2.0.1" "1w6gfb2zhbcmrfj6digwzw1z68w6zg1q87rm6la2m412zil4swly")
|
|
||||||
(mkOverride "jinja2" "3.0.1" "197ms1wimxql650245v63wkv04n8bicj549wfhp51bx68x5lhgvh")
|
|
||||||
(mkOverride "markupsafe" "2.0.1" "02k2ynmqvvd0z0gakkf8s4idyb606r7zgga41jrkhqmigy06fk2r")
|
|
||||||
(self: super: {
|
(self: super: {
|
||||||
werkzeug = super.werkzeug.overridePythonAttrs (oldAttrs: rec {
|
aiopvpc = super.aiopvpc.overridePythonAttrs (oldAttr: rec {
|
||||||
version = "2.0.1";
|
version = "2.1.2";
|
||||||
src = oldAttrs.src.override {
|
src = fetchFromGitHub {
|
||||||
inherit version;
|
owner = "azogue";
|
||||||
sha256 = "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x";
|
repo = "aiopvpc";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0s8ki46dh39kw6qvsjcfcxa0gblyi33m3hry137kbi4lw5ws6qhr";
|
||||||
};
|
};
|
||||||
checkInputs = oldAttrs.checkInputs ++ [ python3.pkgs.pytest-xprocess ];
|
|
||||||
pytestFlagsArray = [ "-m 'not filterwarnings'" ];
|
|
||||||
});
|
|
||||||
})
|
|
||||||
(mkOverride "flask-restful" "0.3.9" "0gm5dz088v3d2k1dkcp9b3nnqpkk0fp2jly870hijj2xhc5nbv6c")
|
|
||||||
(self: super: {
|
|
||||||
debugpy = super.debugpy.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
# tests fail with flask/werkezug>=2.0
|
|
||||||
doCheck = false;
|
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -81,6 +70,32 @@ let
|
||||||
(mkOverride "ring-doorbell" "0.6.2"
|
(mkOverride "ring-doorbell" "0.6.2"
|
||||||
"fbd537722a27b3b854c26506d894b7399bb8dc57ff36083285971227a2d46560")
|
"fbd537722a27b3b854c26506d894b7399bb8dc57ff36083285971227a2d46560")
|
||||||
|
|
||||||
|
# Pinned due to API changes in pyatmo>=5.1.0
|
||||||
|
(self: super: {
|
||||||
|
pyatmo = super.pyatmo.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
version = "5.0.1";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jabesq";
|
||||||
|
repo = "pyatmo";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0can9v602iqfn0l01fd7gr63qzvcngfm0qka4s1x0pldh6avxmfh";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
|
# Pinned due to API changes in pyatv>=0.8.0
|
||||||
|
(self: super: {
|
||||||
|
pyatv = super.pyatv.overridePythonAttrs (olAttrs: rec {
|
||||||
|
version = "0.7.7";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "postlund";
|
||||||
|
repo = "pyatv";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-dPnh8XZN7ZVR2rYNnj7GSYXW5I2GNQwD/KRDTgs2AtI=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
# Pinned due to API changes in pyflunearyou>=2.0
|
# Pinned due to API changes in pyflunearyou>=2.0
|
||||||
(self: super: {
|
(self: super: {
|
||||||
pyflunearyou = super.pyflunearyou.overridePythonAttrs (oldAttrs: rec {
|
pyflunearyou = super.pyflunearyou.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
@ -134,6 +149,8 @@ let
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(mkOverride "pysma" "0.4.3" "sha256-vriMnJFS7yfTyDT1f4sx1xEBTQjqc4ZHmkdHp1vcd+Q=")
|
||||||
|
|
||||||
# Pinned due to API changes in eebrightbox>=0.0.5
|
# Pinned due to API changes in eebrightbox>=0.0.5
|
||||||
(self: super: {
|
(self: super: {
|
||||||
eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec {
|
eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
|
Loading…
Reference in a new issue