lol

home-assistant: pin dependencies to unbreak component tests

+131
+131
pkgs/servers/home-assistant/default.nix
··· 30 30 # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt 31 31 32 32 (self: super: { 33 + aioairq = super.aioairq.overridePythonAttrs (oldAttrs: rec { 34 + version = "0.2.4"; 35 + src = fetchFromGitHub { 36 + owner = "CorantGmbH"; 37 + repo = "aioairq"; 38 + rev = "refs/tags/v${version}"; 39 + hash = "sha256-+5FyBfsB3kjyX/V9CdZ072mZ3THyvALyym+uk7/kZLo="; 40 + }; 41 + }); 42 + 33 43 aiowatttime = super.aiowatttime.overridePythonAttrs (oldAttrs: rec { 34 44 version = "0.1.1"; 35 45 src = fetchFromGitHub { ··· 57 67 ]; 58 68 }); 59 69 70 + blinkpy = super.blinkpy.overridePythonAttrs (oldAttrs: rec { 71 + version = "0.21.0"; 72 + src = fetchFromGitHub { 73 + owner = "fronzbot"; 74 + repo = "blinkpy"; 75 + rev = "refs/tags/v${version}"; 76 + hash = "sha256-0sEZlnS6CJj8nMyjtSFZRALRKdmY0Uu5N6sozPiDG6w="; 77 + }; 78 + }); 79 + 60 80 dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec { 61 81 version = "0.33"; 62 82 src = fetchFromGitHub { ··· 64 84 repo = "dsmr_parser"; 65 85 rev = "refs/tags/v${version}"; 66 86 hash = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w="; 87 + }; 88 + }); 89 + 90 + faadelays = super.faadelays.overridePythonAttrs (oldAttrs: rec { 91 + version = "0.0.7"; 92 + src = fetchFromGitHub { 93 + owner = "ntilley905"; 94 + repo = "faadelays"; 95 + rev = "refs/tags/v${version}"; 96 + hash = "sha256-NmBijDr/6pGATvzZhCrOjdDU7DKwLFAfwSgozvBYHMo="; 67 97 }; 68 98 }); 69 99 ··· 87 117 }; 88 118 }); 89 119 120 + google-nest-sdm = super.google-nest-sdm.overridePythonAttrs (oldAtrs: rec { 121 + version = "2.2.5"; 122 + src = fetchFromGitHub { 123 + owner = "allenporter"; 124 + repo = "python-google-nest-sdm"; 125 + rev = "refs/tags/${version}"; 126 + hash = "sha256-UMP4FMyS8nAZmN7oKBZhMbqTgi4bSR/JmIeyWaZRZis="; 127 + }; 128 + }); 129 + 130 + holidays = super.holidays.overridePythonAttrs (oldAttrs: rec { 131 + version = "0.28"; 132 + src = fetchFromGitHub { 133 + owner = "dr-prodigy"; 134 + repo = "python-holidays"; 135 + rev = "refs/tags/v.${version}"; 136 + hash = "sha256-JHj7fSE8p3TLViDSegl6gm35u53D9NvN7Oa2TBjN9t4="; 137 + }; 138 + }); 139 + 90 140 jaraco-abode = super.jaraco-abode.overridePythonAttrs (oldAttrs: rec { 91 141 version = "3.3.0"; 92 142 src = fetchFromGitHub { 93 143 inherit (oldAttrs.src) owner repo; 94 144 rev = "refs/tags/v${version}"; 95 145 hash = "sha256-LnbWzIST+GMtdsHDKg67WWt9GmHUcSuGZ5Spei3nEio="; 146 + }; 147 + }); 148 + 149 + justnimbus = super.justnimbus.overridePythonAttrs (oldAttrs: rec { 150 + version = "0.6.0"; 151 + src = fetchFromGitHub { 152 + owner = "kvanzuijlen"; 153 + repo = "justnimbus"; 154 + rev = "refs/tags/${version}"; 155 + hash = "sha256-uQ5Nc5sxqHeAuavyfX4Q6Umsd54aileJjFwOOU6X7Yg="; 96 156 }; 97 157 }); 98 158 ··· 193 253 }; 194 254 }); 195 255 256 + pydexcom = super.pydexcom.overridePythonAttrs (oldAttrs: rec { 257 + version = "0.2.3"; 258 + src = fetchFromGitHub { 259 + owner = "gagebenne"; 260 + repo = "pydexcom"; 261 + rev = "refs/tags/${version}"; 262 + hash = "sha256-ItDGnUUUTwCz4ZJtFVlMYjjoBPn2h8QZgLzgnV2T/Qk="; 263 + }; 264 + }); 265 + 196 266 pykaleidescape = super.pykaleidescape.overridePythonAttrs (oldAttrs: rec { 197 267 version = "1.0.1"; 198 268 src = fetchFromGitHub { ··· 202 272 }; 203 273 }); 204 274 275 + pysensibo = super.pysensibo.overridePythonAttrs (oldAttrs: rec { 276 + version = "1.0.33"; 277 + src = fetchPypi { 278 + inherit (oldAttrs) pname; 279 + inherit version; 280 + hash = "sha256-A7IzAIV8dQVSmYTEp9yeySQ8eXnLFVkiuWFS3pe2YTA="; 281 + }; 282 + }); 283 + 284 + pysnooz = super.pysnooz.overridePythonAttrs (oldAttrs: rec { 285 + version = "0.8.6"; 286 + src = fetchFromGitHub { 287 + owner = "AustinBrunkhorst"; 288 + repo = "pysnooz"; 289 + rev = "refs/tags/v${version}"; 290 + hash = "sha256-hJwIObiuFEAVhgZXYB9VCeAlewBBnk0oMkP83MUCpyU="; 291 + }; 292 + }); 293 + 205 294 python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec { 206 295 pname = "python-slugify"; 207 296 version = "4.0.1"; 208 297 src = fetchPypi { 209 298 inherit pname version; 210 299 hash = "sha256-aaUXdm4AwSaOW7/A0BCgqFCN4LGNMK1aH/NX+K5yQnA="; 300 + }; 301 + }); 302 + 303 + python-tado = super.python-tado.overridePythonAttrs (oldAttrs: rec { 304 + version = "0.15.0"; 305 + src = fetchFromGitHub { 306 + owner = "wmalgadey"; 307 + repo = "PyTado"; 308 + rev = "refs/tags/${version}"; 309 + hash = "sha256-gduqQVw/a64aDzTHFmgZu7OVB53jZb7L5vofzL3Ho6s="; 211 310 }; 212 311 }); 213 312 ··· 250 349 doCheck = false; 251 350 }); 252 351 352 + screenlogicpy = super.screenlogicpy.overridePythonAttrs (oldAttrs: rec { 353 + version = "0.8.2"; 354 + src = fetchFromGitHub { 355 + owner = "dieselrabbit"; 356 + repo = "screenlogicpy"; 357 + rev = "refs/tags/v${version}"; 358 + hash = "sha256-7w2cg+LfL3w2Xxf8s7lFxE/HkqZ6RBYp8LkZTOwgK+I="; 359 + }; 360 + }); 361 + 362 + syrupy = super.syrupy.overridePythonAttrs (oldAttrs: rec { 363 + version = "4.2.1"; 364 + src = fetchFromGitHub { 365 + owner = "tophat"; 366 + repo = "syrupy"; 367 + rev = "refs/tags/v${version}"; 368 + hash = "sha256-MXUuLw4+J/9JtXY1DYwBjj2sgAbO2cXQi1HnVRx3BhM="; 369 + }; 370 + doCheck = false; 371 + }); 372 + 253 373 # Pinned due to API changes in 0.3.0 254 374 tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec { 255 375 version = "0.2.0"; ··· 258 378 repo = "python-tailscale"; 259 379 rev = "refs/tags/v${version}"; 260 380 hash = "sha256-/tS9ZMUWsj42n3MYPZJYJELzX3h02AIHeRZmD2SuwWE="; 381 + }; 382 + }); 383 + 384 + velbus-aio = super.velbus-aio.overridePythonAttrs (oldAttrs: rec { 385 + version = "2023.2.0"; 386 + src = fetchFromGitHub { 387 + owner = "Cereal2nd"; 388 + repo = "velbus-aio"; 389 + rev = "refs/tags/${version}"; 390 + hash = "sha256-y8M9Zf/CMM7NH0Sr7E9sx7JnOFGlExEk7cFEGrHBi7g="; 391 + fetchSubmodules = true; 261 392 }; 262 393 }); 263 394